Module Name: src Committed By: andvar Date: Tue Jan 7 18:27:26 UTC 2025
Modified Files: src/share/examples/hostapd: hostapd.conf src/sys/arch/arm/marvell: mvsocreg.h src/sys/arch/hpcmips/vr: vrledreg.h src/sys/dev/pci: cs4281.c Log Message: Fix typos in the word 'Control' in comments. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/examples/hostapd/hostapd.conf cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/marvell/mvsocreg.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hpcmips/vr/vrledreg.h cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/cs4281.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/examples/hostapd/hostapd.conf diff -u src/share/examples/hostapd/hostapd.conf:1.1 src/share/examples/hostapd/hostapd.conf:1.2 --- src/share/examples/hostapd/hostapd.conf:1.1 Sun Apr 30 13:52:35 2006 +++ src/share/examples/hostapd/hostapd.conf Tue Jan 7 18:27:26 2025 @@ -1,4 +1,4 @@ -# $NetBSD: hostapd.conf,v 1.1 2006/04/30 13:52:35 rpaulo Exp $ +# $NetBSD: hostapd.conf,v 1.2 2025/01/07 18:27:26 andvar Exp $ # # hostapd example configuration file (adapted for NetBSD) # @@ -56,7 +56,7 @@ ctrl_interface=/var/run/hostapd # run as non-root users. However, since the control interface can be used to # change the network configuration, this access needs to be protected in many # cases. By default, hostapd is configured to use gid 0 (root). If you -# want to allow non-root users to use the contron interface, add a new group +# want to allow non-root users to use the control interface, add a new group # and change this value to match with that group. Add users that should have # control interface access to this group. # Index: src/sys/arch/arm/marvell/mvsocreg.h diff -u src/sys/arch/arm/marvell/mvsocreg.h:1.13 src/sys/arch/arm/marvell/mvsocreg.h:1.14 --- src/sys/arch/arm/marvell/mvsocreg.h:1.13 Sat Jan 7 16:19:28 2017 +++ src/sys/arch/arm/marvell/mvsocreg.h Tue Jan 7 18:27:26 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: mvsocreg.h,v 1.13 2017/01/07 16:19:28 kiyohara Exp $ */ +/* $NetBSD: mvsocreg.h,v 1.14 2025/01/07 18:27:26 andvar Exp $ */ /* * Copyright (c) 2007, 2008 KIYOHARA Takashi * All rights reserved. @@ -49,7 +49,7 @@ */ #define MVSOC_DDR_BASE (UNITID2PHYS(DDR)) /* 0x00000 */ -/* DDR SDRAM Contriller Address Decode Registers */ +/* DDR SDRAM Controller Address Decode Registers */ #define MVSOC_DSC_BASE 0x01500 /* DDR SDRAM Ctrl Addr Reg */ #define MVSOC_DSC_NCS 4 #define MVSOC_DSC_CSBAR(x) ((x) * 8) @@ -202,7 +202,7 @@ * used by Dove only ??? */ -/* DDR SDRAM Contriller Address Decode Registers */ +/* DDR SDRAM Controller Address Decode Registers */ #define MVSOC_AXI_NCS 2 #define MVSOC_AXI_MMAP1(cs) (((cs) << 4) + 0x100) #define MVSOC_AXI_MMAP1_STARTADDRESS(v) ((v) & 0xff800000) Index: src/sys/arch/hpcmips/vr/vrledreg.h diff -u src/sys/arch/hpcmips/vr/vrledreg.h:1.3 src/sys/arch/hpcmips/vr/vrledreg.h:1.4 --- src/sys/arch/hpcmips/vr/vrledreg.h:1.3 Mon Jun 11 10:04:27 2001 +++ src/sys/arch/hpcmips/vr/vrledreg.h Tue Jan 7 18:27:26 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: vrledreg.h,v 1.3 2001/06/11 10:04:27 enami Exp $ */ +/* $NetBSD: vrledreg.h,v 1.4 2025/01/07 18:27:26 andvar Exp $ */ /*- * Copyright (c) 1999,2000 SATO Kazumi. All rights reserved. @@ -47,7 +47,7 @@ #define LEDLTS_DIV8SEC 0x02 /* 0.125 sec */ #define LEDLTS_DIV16SEC 0x01 /* 0.0625 sec */ -#define LEDCNT_REG_W 0x8 /* LED Coltrol register */ +#define LEDCNT_REG_W 0x8 /* LED Control register */ #define LEDCNT_AUTOSTOP (1<<1) /* Auto Stop */ #define LEDCNT_NOAUTOSTOP (0<<1) /* Auto Stop Disable*/ Index: src/sys/dev/pci/cs4281.c diff -u src/sys/dev/pci/cs4281.c:1.60 src/sys/dev/pci/cs4281.c:1.61 --- src/sys/dev/pci/cs4281.c:1.60 Sat Sep 14 21:22:37 2024 +++ src/sys/dev/pci/cs4281.c Tue Jan 7 18:27:26 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: cs4281.c,v 1.60 2024/09/14 21:22:37 andvar Exp $ */ +/* $NetBSD: cs4281.c,v 1.61 2025/01/07 18:27:26 andvar Exp $ */ /* * Copyright (c) 2000 Tatoku Ogaito. All rights reserved. @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cs4281.c,v 1.60 2024/09/14 21:22:37 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cs4281.c,v 1.61 2025/01/07 18:27:26 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1130,7 +1130,7 @@ cs4281_init(struct cs428x_softc *sc, int BA0WRITE4(sc, CS4281_DCR0, dat32); BA0WRITE4(sc, CS4281_DCR1, dat32); - /* Set Auto-Initialize Contorl enable */ + /* Set Auto-Initialize Control enable */ BA0WRITE4(sc, CS4281_DMR0, DMRn_DMA | DMRn_AUTO | DMRn_TR_READ); BA0WRITE4(sc, CS4281_DMR1,