Module Name:    src
Committed By:   andvar
Date:           Sat Jul 24 21:31:39 UTC 2021

Modified Files:
        src/bin/ksh: tty.c
        src/common/dist/zlib: zlib.h
        src/crypto/dist/ipsec-tools/src/racoon: isakmp_cfg.c
        src/crypto/external/bsd/libsaslc/dist/src: error.h
        src/dist/pf/sbin/pfctl: pfctl_altq.c
        src/external/mit/lua/dist: lua2netbsd
        src/sys/arch/alpha/alpha: db_trace.c
        src/sys/arch/arm/broadcom: bcm2835_gpio.c
        src/sys/arch/arm/imx: imx51_ccm.c imx51_ccmreg.h
        src/sys/arch/arm/xscale: ixp425_npe.c ixp425_npereg.h
        src/sys/arch/cesfic/cesfic: pmap_bootstrap.c
        src/sys/arch/cobalt/stand/boot: tlp.c
        src/sys/arch/emips/ebus: ace_ebus.c flash_ebus.c
        src/sys/arch/emips/stand/common: ace.c raw.c
        src/sys/arch/evbmips/stand/sbmips/common: blkdev.c
        src/sys/arch/hp300/hp300: pmap_bootstrap.c
        src/sys/arch/hppa/dev: ssio.c
        src/sys/arch/ia64/ia64: trap.c
        src/sys/arch/m68k/060sp/dist: isp.s
        src/sys/arch/m68k/m68k: db_disasm.c
        src/sys/arch/mac68k/mac68k: pmap_bootstrap.c
        src/sys/arch/macppc/dev: pbms.c
        src/sys/arch/mips/rmi: rmixlreg.h
        src/sys/arch/mipsco/stand/common: saio.c
        src/sys/arch/mvme68k/dev: sbicvar.h
        src/sys/arch/pmax/ibus: sii.c
        src/sys/arch/pmax/stand/common: rz.c
        src/sys/arch/powerpc/booke: spe_subr.S
        src/sys/arch/powerpc/powerpc: db_interface.c
        src/sys/arch/powerpc/stand/mkbootimage: rs6000_bootrec.h
        src/sys/arch/prep/pnpbus: fdc_pnpbus.c
        src/sys/arch/prep/stand/boot: siop.c
        src/sys/arch/sgimips/sgimips: machdep.c
        src/sys/arch/sh3/sh3: exception_vector.S pmap.c
        src/sys/arch/sparc/stand/bootblk: bootblk.fth
        src/sys/arch/sparc64/dev: iommuvar.h
        src/sys/arch/usermode/usermode: pmap.c
        src/sys/arch/vax/vax: db_disasm.c
        src/sys/arch/xen/xen: xenevt.c
        src/sys/dev: vnd.c
        src/sys/dev/bi: kdbreg.h
        src/sys/dev/cardbus: fwohci_cardbus.c
        src/sys/dev/dm: dm_ioctl.c dm_target_flakey.c
        src/sys/dev/hpc: files.hpcio
        src/sys/dev/ic: adw.c ahcisatareg.h aic79xx.c aic7xxx.c cs89x0.c
            lemacreg.h mfireg.h mpt_mpilib.h
        src/sys/dev/ieee1394: fwdma.c
        src/sys/dev/isa: README.seagate sbdsp.c
        src/sys/dev/marvell: gtidmac.c
        src/sys/dev/microcode/aic7xxx: aicasm.c
        src/sys/dev/pci: if_ena.c if_vge.c if_vgereg.h
        src/sys/dev/pci/ixgbe: ixgbe_common.c
        src/sys/dev/spi: mcp23s17.c
        src/sys/fs/msdosfs: msdosfs_lookup.c
        src/sys/fs/nilfs: nilfs_vnops.c
        src/sys/fs/puffs: puffs_vnops.c
        src/sys/fs/udf: udf_allocation.c udf_subr.c udf_vfsops.c udf_vnops.c
        src/sys/net80211: ieee80211_ioctl.c ieee80211_output.c
            ieee80211_proto.c ieee80211_proto.h
        src/sys/netinet: sctp_output.c sctputil.c
        src/sys/sys: disk.h
        src/usr.bin/config: TODO
        src/usr.sbin/altq/altqstat: altqstat.c
        src/usr.sbin/lpr/lpd: recvjob.c
        src/usr.sbin/sysinst/arch/mac68k: menus.md.de menus.md.en menus.md.es
            menus.md.pl
        src/usr.sbin/ypserv/yppush: yppush.c

Log Message:
Fix all remaining typos, mainly in comments but also in few definitions and log 
messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or 
typos.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/bin/ksh/tty.c
cvs rdiff -u -r1.4 -r1.5 src/common/dist/zlib/zlib.h
cvs rdiff -u -r1.28 -r1.29 \
    src/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/libsaslc/dist/src/error.h
cvs rdiff -u -r1.10 -r1.11 src/dist/pf/sbin/pfctl/pfctl_altq.c
cvs rdiff -u -r1.2 -r1.3 src/external/mit/lua/dist/lua2netbsd
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/alpha/alpha/db_trace.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/broadcom/bcm2835_gpio.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/imx/imx51_ccm.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/imx/imx51_ccmreg.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/xscale/ixp425_npe.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/xscale/ixp425_npereg.h
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/cesfic/cesfic/pmap_bootstrap.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/cobalt/stand/boot/tlp.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/emips/ebus/ace_ebus.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/emips/ebus/flash_ebus.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/emips/stand/common/ace.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/emips/stand/common/raw.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/stand/sbmips/common/blkdev.c
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/hp300/hp300/pmap_bootstrap.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hppa/dev/ssio.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/ia64/ia64/trap.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/m68k/060sp/dist/isp.s
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/m68k/m68k/db_disasm.c
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/mac68k/mac68k/pmap_bootstrap.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/macppc/dev/pbms.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/rmi/rmixlreg.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mipsco/stand/common/saio.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mvme68k/dev/sbicvar.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/pmax/ibus/sii.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/pmax/stand/common/rz.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/booke/spe_subr.S
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/powerpc/powerpc/db_interface.c
cvs rdiff -u -r1.1 -r1.2 \
    src/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/prep/pnpbus/fdc_pnpbus.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/prep/stand/boot/siop.c
cvs rdiff -u -r1.150 -r1.151 src/sys/arch/sgimips/sgimips/machdep.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/sh3/sh3/exception_vector.S
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/sh3/sh3/pmap.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sparc/stand/bootblk/bootblk.fth
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/sparc64/dev/iommuvar.h
cvs rdiff -u -r1.115 -r1.116 src/sys/arch/usermode/usermode/pmap.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/vax/vax/db_disasm.c
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/xen/xen/xenevt.c
cvs rdiff -u -r1.282 -r1.283 src/sys/dev/vnd.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/bi/kdbreg.h
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/cardbus/fwohci_cardbus.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/dm/dm_ioctl.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/dm/dm_target_flakey.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/hpc/files.hpcio
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/ic/adw.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/ic/ahcisatareg.h
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/ic/aic79xx.c
cvs rdiff -u -r1.142 -r1.143 src/sys/dev/ic/aic7xxx.c
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/ic/cs89x0.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/lemacreg.h
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/ic/mfireg.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/mpt_mpilib.h
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/ieee1394/fwdma.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/isa/README.seagate
cvs rdiff -u -r1.141 -r1.142 src/sys/dev/isa/sbdsp.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/marvell/gtidmac.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/microcode/aic7xxx/aicasm.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/pci/if_ena.c
cvs rdiff -u -r1.80 -r1.81 src/sys/dev/pci/if_vge.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/if_vgereg.h
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/pci/ixgbe/ixgbe_common.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/spi/mcp23s17.c
cvs rdiff -u -r1.36 -r1.37 src/sys/fs/msdosfs/msdosfs_lookup.c
cvs rdiff -u -r1.43 -r1.44 src/sys/fs/nilfs/nilfs_vnops.c
cvs rdiff -u -r1.221 -r1.222 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -u -r1.41 -r1.42 src/sys/fs/udf/udf_allocation.c
cvs rdiff -u -r1.153 -r1.154 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.80 -r1.81 src/sys/fs/udf/udf_vfsops.c
cvs rdiff -u -r1.115 -r1.116 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.67 -r1.68 src/sys/net80211/ieee80211_ioctl.c
cvs rdiff -u -r1.65 -r1.66 src/sys/net80211/ieee80211_output.c
cvs rdiff -u -r1.36 -r1.37 src/sys/net80211/ieee80211_proto.c
cvs rdiff -u -r1.23 -r1.24 src/sys/net80211/ieee80211_proto.h
cvs rdiff -u -r1.22 -r1.23 src/sys/netinet/sctp_output.c
cvs rdiff -u -r1.16 -r1.17 src/sys/netinet/sctputil.c
cvs rdiff -u -r1.76 -r1.77 src/sys/sys/disk.h
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/config/TODO
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/altq/altqstat/altqstat.c
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/lpr/lpd/recvjob.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/mac68k/menus.md.de \
    src/usr.sbin/sysinst/arch/mac68k/menus.md.en \
    src/usr.sbin/sysinst/arch/mac68k/menus.md.es \
    src/usr.sbin/sysinst/arch/mac68k/menus.md.pl
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/ypserv/yppush/yppush.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/ksh/tty.c
diff -u src/bin/ksh/tty.c:1.9 src/bin/ksh/tty.c:1.10
--- src/bin/ksh/tty.c:1.9	Fri Jun 30 04:41:19 2017
+++ src/bin/ksh/tty.c	Sat Jul 24 21:31:31 2021
@@ -1,9 +1,9 @@
-/*	$NetBSD: tty.c,v 1.9 2017/06/30 04:41:19 kamil Exp $	*/
+/*	$NetBSD: tty.c,v 1.10 2021/07/24 21:31:31 andvar Exp $	*/
 
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: tty.c,v 1.9 2017/06/30 04:41:19 kamil Exp $");
+__RCSID("$NetBSD: tty.c,v 1.10 2021/07/24 21:31:31 andvar Exp $");
 #endif
 
 #include <sys/stat.h>
@@ -92,7 +92,7 @@ set_tty(fd, ts, flags)
 }
 
 
-/* Initialize tty_fd.  Used for saving/reseting tty modes upon
+/* Initialize tty_fd.  Used for saving/resetting tty modes upon
  * foreground job completion and for setting up tty process group.
  */
 void

Index: src/common/dist/zlib/zlib.h
diff -u src/common/dist/zlib/zlib.h:1.4 src/common/dist/zlib/zlib.h:1.5
--- src/common/dist/zlib/zlib.h:1.4	Tue Jan 10 01:27:41 2017
+++ src/common/dist/zlib/zlib.h	Sat Jul 24 21:31:31 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: zlib.h,v 1.4 2017/01/10 01:27:41 christos Exp $	*/
+/*	$NetBSD: zlib.h,v 1.5 2021/07/24 21:31:31 andvar Exp $	*/
 
 /* zlib.h -- interface of the 'zlib' general purpose compression library
   version 1.2.10, January 2nd, 2017
@@ -278,7 +278,7 @@ ZEXTERN int ZEXPORT deflate OF((z_stream
   == 0), or after each call of deflate().  If deflate returns Z_OK and with
   zero avail_out, it must be called again after making room in the output
   buffer because there might be more output pending. See deflatePending(),
-  which can be used if desired to determine whether or not there is more ouput
+  which can be used if desired to determine whether or not there is more output
   in that case.
 
     Normally the parameter flush is set to Z_NO_FLUSH, which allows deflate to
@@ -730,7 +730,7 @@ ZEXTERN int ZEXPORT deflateParams OF((z_
    Then no more input data should be provided before the deflateParams() call.
    If this is done, the old level and strategy will be applied to the data
    compressed before deflateParams(), and the new level and strategy will be
-   applied to the the data compressed after deflateParams().
+   applied to the data compressed after deflateParams().
 
      deflateParams returns Z_OK on success, Z_STREAM_ERROR if the source stream
    state was inconsistent or if a parameter was invalid, or Z_BUF_ERROR if
@@ -1436,12 +1436,12 @@ ZEXTERN z_size_t ZEXPORT gzfread OF((voi
 
      In the event that the end of file is reached and only a partial item is
    available at the end, i.e. the remaining uncompressed data length is not a
-   multiple of size, then the final partial item is nevetheless read into buf
+   multiple of size, then the final partial item is nevertheless read into buf
    and the end-of-file flag is set.  The length of the partial item read is not
    provided, but could be inferred from the result of gztell().  This behavior
    is the same as the behavior of fread() implementations in common libraries,
    but it prevents the direct use of gzfread() to read a concurrently written
-   file, reseting and retrying on end-of-file, when size is not 1.
+   file, resetting and retrying on end-of-file, when size is not 1.
 */
 
 ZEXTERN int ZEXPORT gzwrite OF((gzFile file,

Index: src/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
diff -u src/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c:1.28 src/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c:1.29
--- src/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c:1.28	Sat May 19 19:47:47 2018
+++ src/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c	Sat Jul 24 21:31:31 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: isakmp_cfg.c,v 1.28 2018/05/19 19:47:47 maxv Exp $	*/
+/*	$NetBSD: isakmp_cfg.c,v 1.29 2021/07/24 21:31:31 andvar Exp $	*/
 
 /* Id: isakmp_cfg.c,v 1.55 2006/08/22 18:17:17 manubsd Exp */
 
@@ -1997,7 +1997,7 @@ isakmp_cfg_setenv(iph1, envp, envc)
 		return -1;
 	}
 
-	/* Deault domain */
+	/* Default domain */
 	if(iph1->mode_cfg->flags & ISAKMP_CFG_GOT_DEFAULT_DOMAIN) 
 		strncpy(defdom, 
 		    iph1->mode_cfg->default_domain, 

Index: src/crypto/external/bsd/libsaslc/dist/src/error.h
diff -u src/crypto/external/bsd/libsaslc/dist/src/error.h:1.3 src/crypto/external/bsd/libsaslc/dist/src/error.h:1.4
--- src/crypto/external/bsd/libsaslc/dist/src/error.h:1.3	Fri Feb 11 23:44:43 2011
+++ src/crypto/external/bsd/libsaslc/dist/src/error.h	Sat Jul 24 21:31:31 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: error.h,v 1.3 2011/02/11 23:44:43 christos Exp $ */
+/* $NetBSD: error.h,v 1.4 2021/07/24 21:31:31 andvar Exp $ */
 
 /* Copyright (c) 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -68,7 +68,7 @@ do {					\
 } while(/*CONSTCOND*/0);
 
 /*
- * saslc__eror_get_errno - gets error type
+ * saslc__error_get_errno - gets error type
  *
  * E - error
  */

Index: src/dist/pf/sbin/pfctl/pfctl_altq.c
diff -u src/dist/pf/sbin/pfctl/pfctl_altq.c:1.10 src/dist/pf/sbin/pfctl/pfctl_altq.c:1.11
--- src/dist/pf/sbin/pfctl/pfctl_altq.c:1.10	Sun Feb  4 08:44:36 2018
+++ src/dist/pf/sbin/pfctl/pfctl_altq.c	Sat Jul 24 21:31:31 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: pfctl_altq.c,v 1.10 2018/02/04 08:44:36 mrg Exp $	*/
+/*	$NetBSD: pfctl_altq.c,v 1.11 2021/07/24 21:31:31 andvar Exp $	*/
 /*	$OpenBSD: pfctl_altq.c,v 1.92 2007/05/27 05:15:17 claudio Exp $	*/
 
 /*
@@ -1062,7 +1062,7 @@ char *
 rate2str(double rate)
 {
 	char		*buf;
-	static char	 r2sbuf[R2S_BUFS][RATESTR_MAX];  /* ring bufer */
+	static char	 r2sbuf[R2S_BUFS][RATESTR_MAX];  /* ring buffer */
 	static int	 idx = 0;
 	int		 i;
 	static const char unit[] = " KMG";

Index: src/external/mit/lua/dist/lua2netbsd
diff -u src/external/mit/lua/dist/lua2netbsd:1.2 src/external/mit/lua/dist/lua2netbsd:1.3
--- src/external/mit/lua/dist/lua2netbsd:1.2	Sat Oct  8 19:28:40 2011
+++ src/external/mit/lua/dist/lua2netbsd	Sat Jul 24 21:31:31 2021
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#	$NetBSD: lua2netbsd,v 1.2 2011/10/08 19:28:40 christos Exp $
+#	$NetBSD: lua2netbsd,v 1.3 2021/07/24 21:31:31 andvar Exp $
 #	adapted from dist/ipf/ipf2netbsd:
 #	NetBSD: ipf2netbsd,v 1.23 2010/04/17 22:05:53 darrenr Exp $
 #
@@ -28,7 +28,7 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 #
-# lua2netbsd:  prepare a Lua source tree for NeBSD.
+# lua2netbsd:  prepare a Lua source tree for NetBSD.
 
 ### Remove the $'s around various RCSIDs
 cleantags src doc

Index: src/sys/arch/alpha/alpha/db_trace.c
diff -u src/sys/arch/alpha/alpha/db_trace.c:1.29 src/sys/arch/alpha/alpha/db_trace.c:1.30
--- src/sys/arch/alpha/alpha/db_trace.c:1.29	Fri Sep 18 00:09:29 2020
+++ src/sys/arch/alpha/alpha/db_trace.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: db_trace.c,v 1.29 2020/09/18 00:09:29 thorpej Exp $ */
+/* $NetBSD: db_trace.c,v 1.30 2021/07/24 21:31:32 andvar Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.29 2020/09/18 00:09:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.30 2021/07/24 21:31:32 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -132,7 +132,7 @@ do {									\
 			 * The assumption here is that a positive
 			 * stack offset is the function epilogue,
 			 * which may come before callpc when an
-			 * agressive optimizer (like GCC 3.3 or later)
+			 * aggressive optimizer (like GCC 3.3 or later)
 			 * has moved part of the function "out of
 			 * line", past the epilogue. Therefore, ignore
 			 * the positive offset so that

Index: src/sys/arch/arm/broadcom/bcm2835_gpio.c
diff -u src/sys/arch/arm/broadcom/bcm2835_gpio.c:1.20 src/sys/arch/arm/broadcom/bcm2835_gpio.c:1.21
--- src/sys/arch/arm/broadcom/bcm2835_gpio.c:1.20	Sat Apr 24 23:36:26 2021
+++ src/sys/arch/arm/broadcom/bcm2835_gpio.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: bcm2835_gpio.c,v 1.20 2021/04/24 23:36:26 thorpej Exp $	*/
+/*	$NetBSD: bcm2835_gpio.c,v 1.21 2021/07/24 21:31:32 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2013, 2014, 2017 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.20 2021/04/24 23:36:26 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.21 2021/07/24 21:31:32 andvar Exp $");
 
 /*
  * Driver for BCM2835 GPIO
@@ -873,7 +873,7 @@ bcm2835gpio_gpio_pin_ctl(void *arg, int 
 	mutex_enter(&sc->sc_lock);
 	if (flags & (GPIO_PIN_OUTPUT|GPIO_PIN_INPUT)) {
 		if ((flags & GPIO_PIN_INPUT) != 0) {
-			/* for safety INPUT will overide output */
+			/* for safety INPUT will override output */
 			bcm283x_pin_setfunc(sc, pin, BCM2835_GPIO_IN);
 		} else {
 			bcm283x_pin_setfunc(sc, pin, BCM2835_GPIO_OUT);

Index: src/sys/arch/arm/imx/imx51_ccm.c
diff -u src/sys/arch/arm/imx/imx51_ccm.c:1.7 src/sys/arch/arm/imx/imx51_ccm.c:1.8
--- src/sys/arch/arm/imx/imx51_ccm.c:1.7	Mon Sep  3 16:29:23 2018
+++ src/sys/arch/arm/imx/imx51_ccm.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: imx51_ccm.c,v 1.7 2018/09/03 16:29:23 riastradh Exp $	*/
+/*	$NetBSD: imx51_ccm.c,v 1.8 2021/07/24 21:31:32 andvar Exp $	*/
 
 /*
  * Copyright (c) 2010-2012, 2014  Genetec Corporation.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx51_ccm.c,v 1.7 2018/09/03 16:29:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx51_ccm.c,v 1.8 2021/07/24 21:31:32 andvar Exp $");
 
 #include "opt_imx.h"
 #include "opt_imx51clk.h"
@@ -595,7 +595,7 @@ imx51_clk_gating(int clk_src, int mode)
 	case CCGR_EPDC_AXI_CLK:
 		reg = bus_space_read_4(iot, ioh, CCMC_EPDC_AXI);
 		reg &= ~EPDC_AXI_CLKGATE;
-		reg |= EPDC_AXI_CLKGATE_ALLWAYS;
+		reg |= EPDC_AXI_CLKGATE_ALWAYS;
 		bus_space_write_4(iot, ioh, CCMC_EPDC_AXI, reg);
 
 		/* enable auto-slow */
@@ -607,7 +607,7 @@ imx51_clk_gating(int clk_src, int mode)
 	case CCGR_EPDC_PIX_CLK:
 		reg = bus_space_read_4(iot, ioh, CCMC_EPDC_PIX);
 		reg &= ~EPDC_PIX_CLKGATE;
-		reg |= EPDC_PIX_CLKGATE_ALLWAYS;
+		reg |= EPDC_PIX_CLKGATE_ALWAYS;
 		bus_space_write_4(iot, ioh, CCMC_EPDC_PIX, reg);
 
 		break;

Index: src/sys/arch/arm/imx/imx51_ccmreg.h
diff -u src/sys/arch/arm/imx/imx51_ccmreg.h:1.5 src/sys/arch/arm/imx/imx51_ccmreg.h:1.6
--- src/sys/arch/arm/imx/imx51_ccmreg.h:1.5	Fri Jul 25 07:49:56 2014
+++ src/sys/arch/arm/imx/imx51_ccmreg.h	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: imx51_ccmreg.h,v 1.5 2014/07/25 07:49:56 hkenken Exp $	*/
+/*	$NetBSD: imx51_ccmreg.h,v 1.6 2021/07/24 21:31:32 andvar Exp $	*/
 /*
  * Copyright (c) 2011, 2012  Genetec Corporation.  All rights reserved.
  * Written by Hashimoto Kenichi for Genetec Corporation.
@@ -153,7 +153,7 @@
 #define	 EPDC_PIX_CLKGATE		__BITS(31, 30)
 #define	 EPDC_PIX_CLKGATE_OFF		__SHIFTIN(0, EPDC_AXI_CLKGATE)
 #define	 EPDC_PIX_CLKGATE_RUNMODE	__SHIFTIN(1, EPDC_AXI_CLKGATE)
-#define	 EPDC_PIX_CLKGATE_ALLWAYS	__SHIFTIN(2, EPDC_AXI_CLKGATE)
+#define	 EPDC_PIX_CLKGATE_ALWAYS	__SHIFTIN(2, EPDC_AXI_CLKGATE)
 #define	 EPDC_PIX_CLKGATE_EXCEPTSTOP	__SHIFTIN(3, EPDC_AXI_CLKGATE)
 #define	 EPDC_PIX_CLK_PRED		__BITS(13, 12)
 #define	 EPDC_PIX_CLK_PODF		__BITS(11, 0)
@@ -161,7 +161,7 @@
 #define	 EPDC_AXI_CLKGATE		__BITS(31, 30)
 #define	 EPDC_AXI_CLKGATE_OFF		__SHIFTIN(0, EPDC_AXI_CLKGATE)
 #define	 EPDC_AXI_CLKGATE_RUNMODE	__SHIFTIN(1, EPDC_AXI_CLKGATE)
-#define	 EPDC_AXI_CLKGATE_ALLWAYS	__SHIFTIN(2, EPDC_AXI_CLKGATE)
+#define	 EPDC_AXI_CLKGATE_ALWAYS	__SHIFTIN(2, EPDC_AXI_CLKGATE)
 #define	 EPDC_AXI_CLKGATE_EXCEPTSTOP	__SHIFTIN(3, EPDC_AXI_CLKGATE)
 #define	 EPDC_ASM_EN			__BIT(9)
 #define	 EPDC_ASM_SLOW_DIV		__BITS(8, 6)

Index: src/sys/arch/arm/xscale/ixp425_npe.c
diff -u src/sys/arch/arm/xscale/ixp425_npe.c:1.12 src/sys/arch/arm/xscale/ixp425_npe.c:1.13
--- src/sys/arch/arm/xscale/ixp425_npe.c:1.12	Sat Apr 24 23:36:29 2021
+++ src/sys/arch/arm/xscale/ixp425_npe.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ixp425_npe.c,v 1.12 2021/04/24 23:36:29 thorpej Exp $	*/
+/*	$NetBSD: ixp425_npe.c,v 1.13 2021/07/24 21:31:32 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2006 Sam Leffler, Errno Consulting
@@ -62,7 +62,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/ixp425_npe.c,v 1.1 2006/11/19 23:55:23 sam Exp $");
 #endif
-__KERNEL_RCSID(0, "$NetBSD: ixp425_npe.c,v 1.12 2021/04/24 23:36:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp425_npe.c,v 1.13 2021/07/24 21:31:32 andvar Exp $");
 
 /*
  * Intel XScale Network Processing Engine (NPE) support.
@@ -411,7 +411,7 @@ ixpnpe_stop(struct ixpnpe_softc *sc)
 
 /*
  * Indicates the start of an NPE Image, in new NPE Image Library format.
- * 2 consecutive occurances indicates the end of the NPE Image Library
+ * 2 consecutive occurrences indicates the end of the NPE Image Library
  */
 #define NPE_IMAGE_MARKER 0xfeedf00d
 
@@ -488,7 +488,7 @@ ixpnpe_init(struct ixpnpe_softc *sc, con
 
     /*
      * If download was successful, store image Id in list of
-     * currently loaded images. If a critical error occured
+     * currently loaded images. If a critical error occurred
      * during download, record that the NPE has an invalid image
      */
     mutex_enter(&sc->sc_lock);
@@ -751,7 +751,7 @@ npe_cpu_reset(struct ixpnpe_softc *sc)
     while (npe_checkbits(sc,
 	  IX_NPEDL_REG_OFFSET_STAT, IX_NPEDL_MASK_STAT_IFNE)) {
 	/*
-	 * Step execution of the NPE intruction to read inFIFO using
+	 * Step execution of the NPE instruction to read inFIFO using
 	 * the Debug Executing Context stack.
 	 */
 	error = npe_cpu_step(sc, IX_NPEDL_INSTR_RD_FIFO, 0, 0);
@@ -844,7 +844,7 @@ npe_cpu_reset(struct ixpnpe_softc *sc)
      * sense based on the documentation.  The feature control
      * register always reads back as 0 on the ixp425 and further
      * the bit definition of NPEA/NPEB is off by 1 according to
-     * the Intel documention--so we're blindly following the
+     * the Intel documentation--so we're blindly following the
      * Intel code w/o any real understanding.
      */
     regVal = EXP_BUS_READ_4(ixp425_softc, EXP_FCTRL_OFFSET);

Index: src/sys/arch/arm/xscale/ixp425_npereg.h
diff -u src/sys/arch/arm/xscale/ixp425_npereg.h:1.1 src/sys/arch/arm/xscale/ixp425_npereg.h:1.2
--- src/sys/arch/arm/xscale/ixp425_npereg.h:1.1	Sun Dec 10 10:01:49 2006
+++ src/sys/arch/arm/xscale/ixp425_npereg.h	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ixp425_npereg.h,v 1.1 2006/12/10 10:01:49 scw Exp $	*/
+/*	$NetBSD: ixp425_npereg.h,v 1.2 2021/07/24 21:31:32 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2006 Sam Leffler, Errno Consulting
@@ -134,7 +134,7 @@
 
 /*
  * Reset value for Mailbox (MBST) register
- * NOTE that if used, it should be complemented with an NPE intruction
+ * NOTE that if used, it should be complemented with an NPE instruction
  * to clear the Mailbox at the NPE side as well
  */
 #define IX_NPEDL_REG_RESET_MBST              0x0000F0F0

Index: src/sys/arch/cesfic/cesfic/pmap_bootstrap.c
diff -u src/sys/arch/cesfic/cesfic/pmap_bootstrap.c:1.34 src/sys/arch/cesfic/cesfic/pmap_bootstrap.c:1.35
--- src/sys/arch/cesfic/cesfic/pmap_bootstrap.c:1.34	Fri Feb 10 06:28:39 2012
+++ src/sys/arch/cesfic/cesfic/pmap_bootstrap.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap_bootstrap.c,v 1.34 2012/02/10 06:28:39 mhitch Exp $	*/
+/*	$NetBSD: pmap_bootstrap.c,v 1.35 2021/07/24 21:31:32 andvar Exp $	*/
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.34 2012/02/10 06:28:39 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.35 2021/07/24 21:31:32 andvar Exp $");
 
 #include <sys/param.h>
 #include <uvm/uvm_extern.h>
@@ -410,7 +410,7 @@ pmap_bootstrap(paddr_t nextpa, paddr_t f
 	 * Note about avail_end: msgbuf is initialized just after
 	 * avail_end in machdep.c.
 	 * Since the last page is used for rebooting the system
-	 * (code is copied there and excution continues from copied code
+	 * (code is copied there and execution continues from copied code
 	 * before the MMU is disabled), the msgbuf will get trounced
 	 * between reboots if it's placed in the last physical page.
 	 * To work around this, we move avail_end back one more

Index: src/sys/arch/cobalt/stand/boot/tlp.c
diff -u src/sys/arch/cobalt/stand/boot/tlp.c:1.9 src/sys/arch/cobalt/stand/boot/tlp.c:1.10
--- src/sys/arch/cobalt/stand/boot/tlp.c:1.9	Tue Jan 19 15:28:52 2010
+++ src/sys/arch/cobalt/stand/boot/tlp.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: tlp.c,v 1.9 2010/01/19 15:28:52 tsutsui Exp $	*/
+/*	$NetBSD: tlp.c,v 1.10 2021/07/24 21:31:32 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -275,7 +275,7 @@ tlp_init(void *cookie)
 	txd->xd1 = htole32(T1_SET | T1_TCH | TLP_SETUPLEN);
 	txd->xd0 = htole32(T0_OWN);
 
-	/* make sure the entire descriptors transfered to memory */
+	/* make sure the entire descriptors transferred to memory */
 	wbinv(l, sizeof(struct local));
 
 	CSR_WRITE(l, TLP_RRBA, VTOPHYS(rxd));

Index: src/sys/arch/emips/ebus/ace_ebus.c
diff -u src/sys/arch/emips/ebus/ace_ebus.c:1.23 src/sys/arch/emips/ebus/ace_ebus.c:1.24
--- src/sys/arch/emips/ebus/ace_ebus.c:1.23	Mon Feb 24 12:20:29 2020
+++ src/sys/arch/emips/ebus/ace_ebus.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ace_ebus.c,v 1.23 2020/02/24 12:20:29 rin Exp $	*/
+/*	$NetBSD: ace_ebus.c,v 1.24 2021/07/24 21:31:32 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ace_ebus.c,v 1.23 2020/02/24 12:20:29 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ace_ebus.c,v 1.24 2021/07/24 21:31:32 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -155,7 +155,7 @@ struct ace_softc {
 	struct callout sc_restart_ch;
 
 	/* IDE disk soft states */
-	struct buf *sc_bp; /* buf being transfered */
+	struct buf *sc_bp; /* buf being transferred */
 	struct buf *active_xfer; /* buf handoff to thread  */
 	/* current transfer data */
 	struct ace_bio sc_bio; /* current transfer */

Index: src/sys/arch/emips/ebus/flash_ebus.c
diff -u src/sys/arch/emips/ebus/flash_ebus.c:1.22 src/sys/arch/emips/ebus/flash_ebus.c:1.23
--- src/sys/arch/emips/ebus/flash_ebus.c:1.22	Sat Dec 14 02:58:19 2019
+++ src/sys/arch/emips/ebus/flash_ebus.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: flash_ebus.c,v 1.22 2019/12/14 02:58:19 tsutsui Exp $	*/
+/*	$NetBSD: flash_ebus.c,v 1.23 2021/07/24 21:31:32 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: flash_ebus.c,v 1.22 2019/12/14 02:58:19 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: flash_ebus.c,v 1.23 2021/07/24 21:31:32 andvar Exp $");
 
 /* Driver for the Intel 28F320/640/128 (J3A150) StrataFlash memory device
  * Extended to include the Intel JS28F256P30T95.
@@ -177,7 +177,7 @@ struct eflash_softc {
 	struct callout sc_restart_ch;
 
 	/* IDE disk soft states */
-	struct buf *sc_bp; /* buf being transfered */
+	struct buf *sc_bp; /* buf being transferred */
 	struct buf *active_xfer; /* buf handoff to thread  */
 	struct eflash_bio sc_bio; /* current transfer */
 

Index: src/sys/arch/emips/stand/common/ace.c
diff -u src/sys/arch/emips/stand/common/ace.c:1.4 src/sys/arch/emips/stand/common/ace.c:1.5
--- src/sys/arch/emips/stand/common/ace.c:1.4	Wed Mar  7 14:59:14 2018
+++ src/sys/arch/emips/stand/common/ace.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ace.c,v 1.4 2018/03/07 14:59:14 christos Exp $	*/
+/*	$NetBSD: ace.c,v 1.5 2021/07/24 21:31:32 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -705,7 +705,7 @@ acestrategy(
 	daddr_t bn,
 	size_t reqcnt,
 	void *addr,
-	size_t *cnt)	/* out: number of bytes transfered */
+	size_t *cnt)	/* out: number of bytes transferred */
 {
 	struct ace_softc *sc = (struct ace_softc *)devdata;
 	int part = sc->sc_part;

Index: src/sys/arch/emips/stand/common/raw.c
diff -u src/sys/arch/emips/stand/common/raw.c:1.2 src/sys/arch/emips/stand/common/raw.c:1.3
--- src/sys/arch/emips/stand/common/raw.c:1.2	Sun Jul 17 20:54:39 2011
+++ src/sys/arch/emips/stand/common/raw.c	Sat Jul 24 21:31:32 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: raw.c,v 1.2 2011/07/17 20:54:39 joerg Exp $	*/
+/*	$NetBSD: raw.c,v 1.3 2021/07/24 21:31:32 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -155,7 +155,7 @@ rawstrategy(
 	daddr_t bn,
 	size_t reqcnt,
 	void *addr,
-	size_t *cnt)	/* out: number of bytes transfered */
+	size_t *cnt)	/* out: number of bytes transferred */
 {
     /* Never gets here */
     return (EIO);

Index: src/sys/arch/evbmips/stand/sbmips/common/blkdev.c
diff -u src/sys/arch/evbmips/stand/sbmips/common/blkdev.c:1.2 src/sys/arch/evbmips/stand/sbmips/common/blkdev.c:1.3
--- src/sys/arch/evbmips/stand/sbmips/common/blkdev.c:1.2	Mon Jul 24 10:34:54 2017
+++ src/sys/arch/evbmips/stand/sbmips/common/blkdev.c	Sat Jul 24 21:31:33 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: blkdev.c,v 1.2 2017/07/24 10:34:54 mrg Exp $ */
+/* $NetBSD: blkdev.c,v 1.3 2021/07/24 21:31:33 andvar Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -151,7 +151,7 @@ devopen(struct open_file *f, const char 
 
 int
 blkdevstrategy(void *devdata, int rw, daddr_t bn, size_t reqcnt, void *addrvoid, size_t *cnt)
-	/* cnt:	 out: number of bytes transfered */
+	/* cnt:	 out: number of bytes transferred */
 {
 	unsigned char *addr = addrvoid;
 	int res;

Index: src/sys/arch/hp300/hp300/pmap_bootstrap.c
diff -u src/sys/arch/hp300/hp300/pmap_bootstrap.c:1.59 src/sys/arch/hp300/hp300/pmap_bootstrap.c:1.60
--- src/sys/arch/hp300/hp300/pmap_bootstrap.c:1.59	Fri Dec 23 08:09:54 2016
+++ src/sys/arch/hp300/hp300/pmap_bootstrap.c	Sat Jul 24 21:31:33 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap_bootstrap.c,v 1.59 2016/12/23 08:09:54 maya Exp $	*/
+/*	$NetBSD: pmap_bootstrap.c,v 1.60 2021/07/24 21:31:33 andvar Exp $	*/
 
 /*
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.59 2016/12/23 08:09:54 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.60 2021/07/24 21:31:33 andvar Exp $");
 
 #include <sys/param.h>
 #include <uvm/uvm_extern.h>
@@ -446,7 +446,7 @@ pmap_bootstrap(paddr_t nextpa, paddr_t f
 	 * Note about avail_end: msgbuf is initialized just after
 	 * avail_end in machdep.c.
 	 * Since the last page is used for rebooting the system
-	 * (code is copied there and excution continues from copied code
+	 * (code is copied there and execution continues from copied code
 	 * before the MMU is disabled), the msgbuf will get trounced
 	 * between reboots if it's placed in the last physical page.
 	 * To work around this, we move avail_end back one more

Index: src/sys/arch/hppa/dev/ssio.c
diff -u src/sys/arch/hppa/dev/ssio.c:1.3 src/sys/arch/hppa/dev/ssio.c:1.4
--- src/sys/arch/hppa/dev/ssio.c:1.3	Sat Apr 24 23:36:39 2021
+++ src/sys/arch/hppa/dev/ssio.c	Sat Jul 24 21:31:33 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ssio.c,v 1.3 2021/04/24 23:36:39 thorpej Exp $	*/
+/*	$NetBSD: ssio.c,v 1.4 2021/07/24 21:31:33 andvar Exp $	*/
 
 /*	$OpenBSD: ssio.c,v 1.7 2009/03/08 22:19:04 miod Exp $	*/
 
@@ -285,7 +285,7 @@ ssio_attach(device_t parent, device_t se
 
 #if NUKBD > 0
 	/*
-	 * If a USB keybard is used for console input, the firmware passes
+	 * If a USB keyboard is used for console input, the firmware passes
 	 * the mmio address of the USB controller the keyboard is attached
 	 * to.  Since we know the USB controller is function 2 on the same
 	 * device and comes right after us (we're function 1 remember),

Index: src/sys/arch/ia64/ia64/trap.c
diff -u src/sys/arch/ia64/ia64/trap.c:1.14 src/sys/arch/ia64/ia64/trap.c:1.15
--- src/sys/arch/ia64/ia64/trap.c:1.14	Sat Apr  8 17:47:14 2017
+++ src/sys/arch/ia64/ia64/trap.c	Sat Jul 24 21:31:33 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.14 2017/04/08 17:47:14 scole Exp $ */
+/* $NetBSD: trap.c,v 1.15 2021/07/24 21:31:33 andvar Exp $ */
 
 /*-
  * Copyright (c) 2005 Marcel Moolenaar
@@ -61,7 +61,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.14 2017/04/08 17:47:14 scole Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.15 2021/07/24 21:31:33 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -608,7 +608,7 @@ no_fault_in:
 		 * The branching behaviour of the chk instruction is not
 		 * implemented by the processor. All we need to do is
 		 * compute the target address of the branch and make sure
-		 * that control is transfered to that address.
+		 * that control is transferred to that address.
 		 * We should do this in the IVT table and not by entring
 		 * the kernel...
 		 */

Index: src/sys/arch/m68k/060sp/dist/isp.s
diff -u src/sys/arch/m68k/060sp/dist/isp.s:1.3 src/sys/arch/m68k/060sp/dist/isp.s:1.4
--- src/sys/arch/m68k/060sp/dist/isp.s:1.3	Sat Jul 11 10:32:46 2015
+++ src/sys/arch/m68k/060sp/dist/isp.s	Sat Jul 24 21:31:33 2021
@@ -1,5 +1,5 @@
 #
-# $NetBSD: isp.s,v 1.3 2015/07/11 10:32:46 kamil Exp $
+# $NetBSD: isp.s,v 1.4 2021/07/24 21:31:33 andvar Exp $
 #
 
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -586,7 +586,7 @@ uieh_done:
 	mov.b		EXC_CC+1(%a6),EXC_ISR+1(%a6) # insert new ccodes
 
 # if exception occurred in user mode, then we have to restore a7 in case it
-# changed. we don't have to update a7  for supervisor mose because that case
+# changed. we don't have to update a7  for supervisor mouse because that case
 # doesn't flow through here
 	btst		&0x5,EXC_ISR(%a6)	# user or supervisor?
 	bne.b		uieh_finish		# supervisor
@@ -609,7 +609,7 @@ uieh_finish:
 # The instruction that was just emulated was also being traced. The trace 
 # trap for this instruction will be lost unless we jump to the trace handler.
 # So, here we create a Trace Exception format number two exception stack
-# frame from the Unimplemented Integer Intruction Exception stack frame
+# frame from the Unimplemented Integer Instruction Exception stack frame
 # format number zero and jump to the user supplied hook "_real_trace()".
 #
 #		   UIEH FRAME		   TRACE FRAME

Index: src/sys/arch/m68k/m68k/db_disasm.c
diff -u src/sys/arch/m68k/m68k/db_disasm.c:1.45 src/sys/arch/m68k/m68k/db_disasm.c:1.46
--- src/sys/arch/m68k/m68k/db_disasm.c:1.45	Tue Apr  6 16:04:44 2021
+++ src/sys/arch/m68k/m68k/db_disasm.c	Sat Jul 24 21:31:33 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: db_disasm.c,v 1.45 2021/04/06 16:04:44 simonb Exp $	*/
+/*	$NetBSD: db_disasm.c,v 1.46 2021/07/24 21:31:33 andvar Exp $	*/
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -63,7 +63,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.45 2021/04/06 16:04:44 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.46 2021/07/24 21:31:33 andvar Exp $");
 
 #include <sys/param.h>
 #ifdef _KERNEL
@@ -176,7 +176,7 @@ static const char hexdigits[] = "0123456
 #endif
 
 /*
- * Disassemble intruction at location ``loc''.
+ * Disassemble instruction at location ``loc''.
  * Returns location of next instruction.
  */
 

Index: src/sys/arch/mac68k/mac68k/pmap_bootstrap.c
diff -u src/sys/arch/mac68k/mac68k/pmap_bootstrap.c:1.95 src/sys/arch/mac68k/mac68k/pmap_bootstrap.c:1.96
--- src/sys/arch/mac68k/mac68k/pmap_bootstrap.c:1.95	Sun Aug 18 07:05:16 2019
+++ src/sys/arch/mac68k/mac68k/pmap_bootstrap.c	Sat Jul 24 21:31:33 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap_bootstrap.c,v 1.95 2019/08/18 07:05:16 rin Exp $	*/
+/*	$NetBSD: pmap_bootstrap.c,v 1.96 2021/07/24 21:31:33 andvar Exp $	*/
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.95 2019/08/18 07:05:16 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.96 2021/07/24 21:31:33 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -483,7 +483,7 @@ pmap_bootstrap(paddr_t nextpa, paddr_t f
 	 * Note about avail_end: msgbuf is initialized just after
 	 * avail_end in machdep.c.  Since the last page is used
 	 * for rebooting the system (code is copied there and
-	 * excution continues from copied code before the MMU
+	 * execution continues from copied code before the MMU
 	 * is disabled), the msgbuf will get trounced between
 	 * reboots if it's placed in the last physical page.
 	 * To work around this, we move avail_end back one more

Index: src/sys/arch/macppc/dev/pbms.c
diff -u src/sys/arch/macppc/dev/pbms.c:1.17 src/sys/arch/macppc/dev/pbms.c:1.18
--- src/sys/arch/macppc/dev/pbms.c:1.17	Sat Apr 24 23:36:41 2021
+++ src/sys/arch/macppc/dev/pbms.c	Sat Jul 24 21:31:33 2021
@@ -1,4 +1,4 @@
-/* $Id: pbms.c,v 1.17 2021/04/24 23:36:41 thorpej Exp $ */
+/* $Id: pbms.c,v 1.18 2021/07/24 21:31:33 andvar Exp $ */
 
 /*
  * Copyright (c) 2005, Johan Wallén
@@ -139,7 +139,7 @@
  */
 
 
-/* The amount of data transfered by the USB device. */
+/* The amount of data transferred by the USB device. */
 #define PBMS_DATA_LEN 81
 
 /* The maximum number of sensors. */

Index: src/sys/arch/mips/rmi/rmixlreg.h
diff -u src/sys/arch/mips/rmi/rmixlreg.h:1.4 src/sys/arch/mips/rmi/rmixlreg.h:1.5
--- src/sys/arch/mips/rmi/rmixlreg.h:1.4	Fri Mar 18 00:58:35 2011
+++ src/sys/arch/mips/rmi/rmixlreg.h	Sat Jul 24 21:31:33 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: rmixlreg.h,v 1.4 2011/03/18 00:58:35 cliff Exp $	*/
+/*	$NetBSD: rmixlreg.h,v 1.5 2021/07/24 21:31:33 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -69,8 +69,8 @@
 					/*			v	 v  v  v	*/
 #define RMIXL_COP_2_TXBUF	_(0)	/* Transmit Buffers	64	[1][4] L	*/
 #define RMIXL_COP_2_RXBUF	_(1)	/* Receive Buffers	64	[1][4] L	*/
-#define RMIXL_COP_2_MSG_STS	_(2)	/* Mesage Status	32	[1][2] L/G	*/
-#define RMIXL_COP_2_MSG_CFG	_(3)	/* MEssage Config	32	[1][2] G	*/
+#define RMIXL_COP_2_MSG_STS	_(2)	/* Message Status	32	[1][2] L/G	*/
+#define RMIXL_COP_2_MSG_CFG	_(3)	/* Message Config	32	[1][2] G	*/
 #define RMIXL_COP_2_MSG_BSZ	_(4)	/* Message Bucket Size	32	[1][8] G	*/
 #define RMIXL_COP_2_CREDITS	_(16)	/* Credit Counters	 8     [16][8] G	*/
 

Index: src/sys/arch/mipsco/stand/common/saio.c
diff -u src/sys/arch/mipsco/stand/common/saio.c:1.14 src/sys/arch/mipsco/stand/common/saio.c:1.15
--- src/sys/arch/mipsco/stand/common/saio.c:1.14	Thu Feb  6 18:45:35 2014
+++ src/sys/arch/mipsco/stand/common/saio.c	Sat Jul 24 21:31:34 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: saio.c,v 1.14 2014/02/06 18:45:35 christos Exp $	*/
+/*	$NetBSD: saio.c,v 1.15 2021/07/24 21:31:34 andvar Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -98,7 +98,7 @@ extern struct sa_iob *saiob[];
 
 int
 saiostrategy(void *devdata, int rw, daddr_t bn, size_t reqcnt, void *addr, size_t *cnt)
-	/* cnt:	 out: number of bytes transfered */
+	/* cnt:	 out: number of bytes transferred */
 {
 	struct saio_softc *sc = (struct saio_softc *)devdata;
 	int part = sc->sc_part;

Index: src/sys/arch/mvme68k/dev/sbicvar.h
diff -u src/sys/arch/mvme68k/dev/sbicvar.h:1.15 src/sys/arch/mvme68k/dev/sbicvar.h:1.16
--- src/sys/arch/mvme68k/dev/sbicvar.h:1.15	Sat Oct 27 17:18:04 2012
+++ src/sys/arch/mvme68k/dev/sbicvar.h	Sat Jul 24 21:31:34 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sbicvar.h,v 1.15 2012/10/27 17:18:04 chs Exp $	*/
+/*	$NetBSD: sbicvar.h,v 1.16 2021/07/24 21:31:34 andvar Exp $	*/
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -116,7 +116,7 @@ struct  sbic_softc {
 	u_char sc_stat[2];
 	u_char sc_msg[7];
 	u_long sc_clkfreq;
-	u_long sc_tcnt;			/* number of bytes transfered */
+	u_long sc_tcnt;			/* number of bytes transferred */
 	u_short sc_dmacmd;		/* used by DMA drivers */
 	u_long sc_dmamask;		/* DMA valid mem mask */
 #ifdef DEBUG

Index: src/sys/arch/pmax/ibus/sii.c
diff -u src/sys/arch/pmax/ibus/sii.c:1.14 src/sys/arch/pmax/ibus/sii.c:1.15
--- src/sys/arch/pmax/ibus/sii.c:1.14	Sat Apr 24 23:36:45 2021
+++ src/sys/arch/pmax/ibus/sii.c	Sat Jul 24 21:31:34 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sii.c,v 1.14 2021/04/24 23:36:45 thorpej Exp $	*/
+/*	$NetBSD: sii.c,v 1.15 2021/07/24 21:31:34 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sii.c,v 1.14 2021/04/24 23:36:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sii.c,v 1.15 2021/07/24 21:31:34 andvar Exp $");
 
 #include "sii.h"
 /*
@@ -681,7 +681,7 @@ again:
 			    device_xname(sc->sc_dev));
 			goto abort;
 		}
-		/* dmalen = amount left to transfer, i = amount transfered */
+		/* dmalen = amount left to transfer, i = amount transferred */
 		i = state->dmalen;
 		state->dmalen = 0;
 		state->dmaCurPhase = -1;
@@ -945,7 +945,7 @@ again:
 #endif
 			}
 
-			/* read amount transfered if DMA didn't finish */
+			/* read amount transferred if DMA didn't finish */
 			if (state->dmalen > 0) {
 				i = state->dmalen - regs->dmlotc;
 				state->dmalen = 0;

Index: src/sys/arch/pmax/stand/common/rz.c
diff -u src/sys/arch/pmax/stand/common/rz.c:1.27 src/sys/arch/pmax/stand/common/rz.c:1.28
--- src/sys/arch/pmax/stand/common/rz.c:1.27	Thu Jun 22 16:46:53 2017
+++ src/sys/arch/pmax/stand/common/rz.c	Sat Jul 24 21:31:34 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: rz.c,v 1.27 2017/06/22 16:46:53 flxd Exp $	*/
+/*	$NetBSD: rz.c,v 1.28 2021/07/24 21:31:34 andvar Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -57,7 +57,7 @@ struct	rz_softc {
 
 int
 rzstrategy(void *devdata, int rw, daddr_t bn, size_t reqcnt, void *addr, size_t *cnt)
-	/* cnt:	 out: number of bytes transfered */
+	/* cnt:	 out: number of bytes transferred */
 {
 	struct rz_softc *sc = (struct rz_softc *)devdata;
 	int part = sc->sc_part;

Index: src/sys/arch/powerpc/booke/spe_subr.S
diff -u src/sys/arch/powerpc/booke/spe_subr.S:1.5 src/sys/arch/powerpc/booke/spe_subr.S:1.6
--- src/sys/arch/powerpc/booke/spe_subr.S:1.5	Mon Jul  6 09:34:16 2020
+++ src/sys/arch/powerpc/booke/spe_subr.S	Sat Jul 24 21:31:34 2021
@@ -31,7 +31,7 @@
 
 #include "assym.h"
 
-RCSID("$NetBSD: spe_subr.S,v 1.5 2020/07/06 09:34:16 rin Exp $")
+RCSID("$NetBSD: spe_subr.S,v 1.6 2021/07/24 21:31:34 andvar Exp $")
 
 	.text
 #ifndef __clang__
@@ -57,7 +57,7 @@ ENTRY(vec_load_from_vreg)
 	 * are loading it), and we know SPE is on (to load it), just load two
 	 * high parts at one time and merge appropriately.  For each even-odd
 	 * register pair, the evldw will load high part for the even register
-	 * in the high 32 bits and the high part for the odd regiter in the
+	 * in the high 32 bits and the high part for the odd register in the
 	 * low 32 bits.
 	 *
 	 * The evmergelo will move the lower half of r0 to the high half of the

Index: src/sys/arch/powerpc/powerpc/db_interface.c
diff -u src/sys/arch/powerpc/powerpc/db_interface.c:1.56 src/sys/arch/powerpc/powerpc/db_interface.c:1.57
--- src/sys/arch/powerpc/powerpc/db_interface.c:1.56	Tue Mar 30 03:15:53 2021
+++ src/sys/arch/powerpc/powerpc/db_interface.c	Sat Jul 24 21:31:34 2021
@@ -1,8 +1,8 @@
-/*	$NetBSD: db_interface.c,v 1.56 2021/03/30 03:15:53 rin Exp $ */
+/*	$NetBSD: db_interface.c,v 1.57 2021/07/24 21:31:34 andvar Exp $ */
 /*	$OpenBSD: db_interface.c,v 1.2 1996/12/28 06:21:50 rahnds Exp $	*/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.56 2021/03/30 03:15:53 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.57 2021/07/24 21:31:34 andvar Exp $");
 
 #define USERACC
 
@@ -570,7 +570,7 @@ static void
 db_ppc4xx_reset(db_expr_t addr, bool have_addr, db_expr_t count,
     const char *modif)
 {
-	printf("Reseting...\n");
+	printf("Resetting...\n");
 	ppc4xx_reset();
 }
 

Index: src/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h
diff -u src/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h:1.1 src/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h:1.2
--- src/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h:1.1	Wed Dec 19 19:50:14 2007
+++ src/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h	Sat Jul 24 21:31:34 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: rs6000_bootrec.h,v 1.1 2007/12/19 19:50:14 garbled Exp $ */
+/* $NetBSD: rs6000_bootrec.h,v 1.2 2021/07/24 21:31:34 andvar Exp $ */
 
 #include <sys/types.h>
 
@@ -9,7 +9,7 @@
 #define CONFRECID	0xF8E9DACB	/* no idea */
 
 typedef struct rs6000_boot_record {
-	uint32_t	ipl_record;	/* allways IPLRECID */
+	uint32_t	ipl_record;	/* always IPLRECID */
 	char		pad1[20];
 	uint32_t	formatted_cap;	/* sectors in the disk */
 	char		floppy_last_head; /* nrof heads -1 */

Index: src/sys/arch/prep/pnpbus/fdc_pnpbus.c
diff -u src/sys/arch/prep/pnpbus/fdc_pnpbus.c:1.5 src/sys/arch/prep/pnpbus/fdc_pnpbus.c:1.6
--- src/sys/arch/prep/pnpbus/fdc_pnpbus.c:1.5	Mon Apr 13 21:18:42 2015
+++ src/sys/arch/prep/pnpbus/fdc_pnpbus.c	Sat Jul 24 21:31:34 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: fdc_pnpbus.c,v 1.5 2015/04/13 21:18:42 riastradh Exp $	*/
+/*	$NetBSD: fdc_pnpbus.c,v 1.6 2021/07/24 21:31:34 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdc_pnpbus.c,v 1.5 2015/04/13 21:18:42 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdc_pnpbus.c,v 1.6 2021/07/24 21:31:34 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -158,7 +158,7 @@ fdc_pnpbus_attach(device_t parent, devic
 
 	aprint_normal("\n");
 
-	/* The 7043-140 gets the type wrong, so overide to edge allways */
+	/* The 7043-140 gets the type wrong, so override to edge always */
 	fdc->sc_ih = pnpbus_intr_establish(0, IPL_BIO, IST_EDGE, fdcintr, fdc,
 	    &pna->pna_res);
 

Index: src/sys/arch/prep/stand/boot/siop.c
diff -u src/sys/arch/prep/stand/boot/siop.c:1.3 src/sys/arch/prep/stand/boot/siop.c:1.4
--- src/sys/arch/prep/stand/boot/siop.c:1.3	Sat Apr 30 15:09:25 2016
+++ src/sys/arch/prep/stand/boot/siop.c	Sat Jul 24 21:31:35 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: siop.c,v 1.3 2016/04/30 15:09:25 skrll Exp $	*/
+/*	$NetBSD: siop.c,v 1.4 2021/07/24 21:31:35 andvar Exp $	*/
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -160,20 +160,20 @@ siop_sdp(struct siop_adapter *adp, struc
 		return;
 	/*
 	 * Save data pointer. We do this by adjusting the tables to point
-	 * at the begginning of the data not yet transfered.
-	 * offset points to the first table with untransfered data.
+	 * at the beginning of the data not yet transferred.
+	 * offset points to the first table with untransferred data.
 	 */
 
 	/*
-	 * before doing that we decrease resid from the ammount of data which
-	 * has been transfered.
+	 * before doing that we decrease resid from the amount of data which
+	 * has been transferred.
 	 */
 	siop_update_resid(adp, xfer, xs, offset);
 
 #if 0
 	/*
 	 * First let see if we have a resid from a phase mismatch. If so,
-	 * we have to adjst the table at offset to remove transfered data.
+	 * we have to adjust the table at offset to remove transferred data.
 	 */
 	if (siop_cmd->flags & CMDFL_RESID) {
 		scr_table_t *table;
@@ -189,8 +189,8 @@ siop_sdp(struct siop_adapter *adp, struc
 #endif
 
 	/*
-	 * now we can remove entries which have been transfered.
-	 * We just move the entries with data left at the beggining of the
+	 * now we can remove entries which have been transferred.
+	 * We just move the entries with data left at the beginning of the
 	 * tables
 	 */
 	memmove(xfer->siop_tables.data, &xfer->siop_tables.data[offset],
@@ -833,7 +833,7 @@ scsi_request_sense(struct siop_adapter *
 		xs->error = XS_RESET;
 		return;
 	case EIO:
-		 /* request sense coudn't be performed */
+		 /* request sense couldn't be performed */
 		/*
 		 * XXX this isn't quite right but we don't have anything
 		 * better for now
@@ -854,7 +854,7 @@ scsi_request_sense(struct siop_adapter *
  *	Look at the returned sense and act on the error, determining
  *	the unix error number to pass back.  (0 = report no error)
  *
- *	NOTE: If we return ERESTART, we are expected to haved
+ *	NOTE: If we return ERESTART, we are expected to have
  *	thawed the device!
  *
  *	THIS IS THE DEFAULT ERROR HANDLER FOR SCSI DEVICES.

Index: src/sys/arch/sgimips/sgimips/machdep.c
diff -u src/sys/arch/sgimips/sgimips/machdep.c:1.150 src/sys/arch/sgimips/sgimips/machdep.c:1.151
--- src/sys/arch/sgimips/sgimips/machdep.c:1.150	Thu Jun 11 19:20:45 2020
+++ src/sys/arch/sgimips/sgimips/machdep.c	Sat Jul 24 21:31:35 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.150 2020/06/11 19:20:45 ad Exp $	*/
+/*	$NetBSD: machdep.c,v 1.151 2021/07/24 21:31:35 andvar Exp $	*/
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.150 2020/06/11 19:20:45 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.151 2021/07/24 21:31:35 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -372,7 +372,7 @@ mach_init(int argc, int32_t argv32[], ui
 		panic("invalid architecture");
 
 	/*
-	 * Get boot device infomation.
+	 * Get boot device information.
 	 */
 
 	/* Try to get the boot device information from bootinfo first. */

Index: src/sys/arch/sh3/sh3/exception_vector.S
diff -u src/sys/arch/sh3/sh3/exception_vector.S:1.51 src/sys/arch/sh3/sh3/exception_vector.S:1.52
--- src/sys/arch/sh3/sh3/exception_vector.S:1.51	Sun Dec  1 12:19:28 2019
+++ src/sys/arch/sh3/sh3/exception_vector.S	Sat Jul 24 21:31:35 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: exception_vector.S,v 1.51 2019/12/01 12:19:28 ad Exp $	*/
+/*	$NetBSD: exception_vector.S,v 1.52 2021/07/24 21:31:35 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2002, 2019 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
 #define _ALIGN_TEXT	.align 5
 #include <sh3/asm.h>
 
-__KERNEL_RCSID(0, "$NetBSD: exception_vector.S,v 1.51 2019/12/01 12:19:28 ad Exp $")
+__KERNEL_RCSID(0, "$NetBSD: exception_vector.S,v 1.52 2021/07/24 21:31:35 andvar Exp $")
 
 
 /*
@@ -220,7 +220,7 @@ NENTRY(sh3_vector_tlbmiss)
 	bt/s	.L3_call_tlb_exception
 	 mov	#-(PGSHIFT - 2), r1
 
-	!! __PMAP_PTP_OFSET(vpn) - except we pre-shift 2 bits left to
+	!! __PMAP_PTP_OFFSET(vpn) - except we pre-shift 2 bits left to
 	!! get the array offset directly, as we know bits 10 and 11
 	!! are zero (we cleaned them in r5 to get 4K aligned VPN)
 	shld	r1, r2		! vpn >> (PGSHIFT - 2)

Index: src/sys/arch/sh3/sh3/pmap.c
diff -u src/sys/arch/sh3/sh3/pmap.c:1.83 src/sys/arch/sh3/sh3/pmap.c:1.84
--- src/sys/arch/sh3/sh3/pmap.c:1.83	Sat Aug  1 20:54:23 2020
+++ src/sys/arch/sh3/sh3/pmap.c	Sat Jul 24 21:31:35 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.83 2020/08/01 20:54:23 uwe Exp $	*/
+/*	$NetBSD: pmap.c,v 1.84 2021/07/24 21:31:35 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.83 2020/08/01 20:54:23 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.84 2021/07/24 21:31:35 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -55,7 +55,7 @@ __KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.8
 	(((va) + (1 << __PMAP_PTP_SHIFT) - 1) & ~((1 << __PMAP_PTP_SHIFT) - 1))
 #define	__PMAP_PTP_PG_N		(PAGE_SIZE / sizeof(pt_entry_t))
 #define	__PMAP_PTP_INDEX(va)	(((va) >> __PMAP_PTP_SHIFT) & (__PMAP_PTP_N - 1))
-#define	__PMAP_PTP_OFSET(va)	((va >> PGSHIFT) & (__PMAP_PTP_PG_N - 1))
+#define	__PMAP_PTP_OFFSET(va)	((va >> PGSHIFT) & (__PMAP_PTP_PG_N - 1))
 
 struct pmap __pmap_kernel;
 struct pmap *const kernel_pmap_ptr = &__pmap_kernel;
@@ -966,7 +966,7 @@ __pmap_pte_alloc(pmap_t pmap, vaddr_t va
 	ptp = (pt_entry_t *)SH3_PHYS_TO_P1SEG(VM_PAGE_TO_PHYS(pg));
 	pmap->pm_ptp[__PMAP_PTP_INDEX(va)] = ptp;
 
-	return (ptp + __PMAP_PTP_OFSET(va));
+	return (ptp + __PMAP_PTP_OFFSET(va));
 }
 
 /*
@@ -986,7 +986,7 @@ __pmap_pte_lookup(pmap_t pmap, vaddr_t v
 	if (ptp == NULL)
 		return (NULL);
 
-	return (ptp + __PMAP_PTP_OFSET(va));
+	return (ptp + __PMAP_PTP_OFFSET(va));
 }
 
 /*
@@ -1002,7 +1002,7 @@ __pmap_kpte_lookup(vaddr_t va)
 	if (ptp == NULL)
 		return NULL;
 
-	return (ptp + __PMAP_PTP_OFSET(va));
+	return (ptp + __PMAP_PTP_OFFSET(va));
 }
 
 /*

Index: src/sys/arch/sparc/stand/bootblk/bootblk.fth
diff -u src/sys/arch/sparc/stand/bootblk/bootblk.fth:1.15 src/sys/arch/sparc/stand/bootblk/bootblk.fth:1.16
--- src/sys/arch/sparc/stand/bootblk/bootblk.fth:1.15	Thu Aug 20 05:40:08 2015
+++ src/sys/arch/sparc/stand/bootblk/bootblk.fth	Sat Jul 24 21:31:36 2021
@@ -1,4 +1,4 @@
-\	$NetBSD: bootblk.fth,v 1.15 2015/08/20 05:40:08 dholland Exp $
+\	$NetBSD: bootblk.fth,v 1.16 2021/07/24 21:31:36 andvar Exp $
 \
 \	IEEE 1275 Open Firmware Boot Block
 \
@@ -341,7 +341,7 @@ defer if_daddr
 
 niaddr /w* constant narraysize
 
-\ Assume UFS2 dinodes are always biger than UFS1
+\ Assume UFS2 dinodes are always bigger than UFS1
 ufs2_dinode_SIZEOF buffer: cur-inode
 0 value indir-block
 create indir-addr -1 , -1 ,
@@ -890,7 +890,7 @@ create cur-blockno -1 l, -1 l,		\ Curren
 
 : do-boot ( bootfile -- )
    ." NetBSD IEEE 1275 Multi-FS Bootblock" cr
-   ." Version $NetBSD: bootblk.fth,v 1.15 2015/08/20 05:40:08 dholland Exp $" cr
+   ." Version $NetBSD: bootblk.fth,v 1.16 2021/07/24 21:31:36 andvar Exp $" cr
    boot-path load-file ( -- load-base )
    dup 0<>  if  " init-program " evaluate  then
 ; 

Index: src/sys/arch/sparc64/dev/iommuvar.h
diff -u src/sys/arch/sparc64/dev/iommuvar.h:1.24 src/sys/arch/sparc64/dev/iommuvar.h:1.25
--- src/sys/arch/sparc64/dev/iommuvar.h:1.24	Mon Apr 26 07:18:01 2021
+++ src/sys/arch/sparc64/dev/iommuvar.h	Sat Jul 24 21:31:36 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: iommuvar.h,v 1.24 2021/04/26 07:18:01 mrg Exp $	*/
+/*	$NetBSD: iommuvar.h,v 1.25 2021/07/24 21:31:36 andvar Exp $	*/
 
 /*
  * Copyright (c) 1999 Matthew R. Green
@@ -53,7 +53,7 @@ struct iommu_state {
 	int			is_tsbsize;	/* 0 = 8K, ... */
 	u_int			is_dvmabase;
 	u_int			is_dvmaend;
-	int64_t			is_cr;		/* IOMMU control regiter value */
+	int64_t			is_cr;		/* IOMMU control register value */
 	struct extent		*is_dvmamap;	/* DVMA map for this instance */
 	kmutex_t		is_lock;	/* lock for DVMA map */
 	int			is_flags;

Index: src/sys/arch/usermode/usermode/pmap.c
diff -u src/sys/arch/usermode/usermode/pmap.c:1.115 src/sys/arch/usermode/usermode/pmap.c:1.116
--- src/sys/arch/usermode/usermode/pmap.c:1.115	Sat Mar 14 14:05:44 2020
+++ src/sys/arch/usermode/usermode/pmap.c	Sat Jul 24 21:31:36 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.115 2020/03/14 14:05:44 ad Exp $ */
+/* $NetBSD: pmap.c,v 1.116 2021/07/24 21:31:36 andvar Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <rein...@netbsd.org>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.115 2020/03/14 14:05:44 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.116 2021/07/24 21:31:36 andvar Exp $");
 
 #include "opt_memsize.h"
 #include "opt_kmempages.h"
@@ -356,7 +356,7 @@ pmap_bootstrap(void)
         pmap = pmap_kernel();
         memset(pmap, 0, sizeof(*pmap));
 	pmap->pm_count = 1;		/* reference */
-	pmap->pm_flags = PM_ACTIVE;	/* kernel pmap is allways active */
+	pmap->pm_flags = PM_ACTIVE;	/* kernel pmap is always active */
 	pmap->pm_l1 = (struct pmap_l2 **) kmem_kvm_cur_start;
 
 	pm_l1_fpos = fpos;

Index: src/sys/arch/vax/vax/db_disasm.c
diff -u src/sys/arch/vax/vax/db_disasm.c:1.23 src/sys/arch/vax/vax/db_disasm.c:1.24
--- src/sys/arch/vax/vax/db_disasm.c:1.23	Sun Apr 29 19:01:15 2018
+++ src/sys/arch/vax/vax/db_disasm.c	Sat Jul 24 21:31:36 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: db_disasm.c,v 1.23 2018/04/29 19:01:15 ragge Exp $ */
+/*	$NetBSD: db_disasm.c,v 1.24 2021/07/24 21:31:36 andvar Exp $ */
 /*
  * Copyright (c) 1996 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.23 2018/04/29 19:01:15 ragge Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.24 2021/07/24 21:31:36 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -231,7 +231,7 @@ get_operands(inst_buffer *ib)
 				ib->off = get_long(ib);
 				break;
 			default:
-				err_print("XXX eror\n");
+				err_print("XXX error\n");
 			}
 			/* add_int(ib, ib->off); */
 			ib->addr = (u_int) ib->ppc + ib->off;

Index: src/sys/arch/xen/xen/xenevt.c
diff -u src/sys/arch/xen/xen/xenevt.c:1.63 src/sys/arch/xen/xen/xenevt.c:1.64
--- src/sys/arch/xen/xen/xenevt.c:1.63	Mon Jan 11 22:02:28 2021
+++ src/sys/arch/xen/xen/xenevt.c	Sat Jul 24 21:31:36 2021
@@ -1,4 +1,4 @@
-/*      $NetBSD: xenevt.c,v 1.63 2021/01/11 22:02:28 skrll Exp $      */
+/*      $NetBSD: xenevt.c,v 1.64 2021/07/24 21:31:36 andvar Exp $      */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1.63 2021/01/11 22:02:28 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1.64 2021/07/24 21:31:36 andvar Exp $");
 
 #include "opt_xen.h"
 #include <sys/param.h>
@@ -59,7 +59,7 @@ __KERNEL_RCSID(0, "$NetBSD: xenevt.c,v 1
 
 /*
  * Interface between the event channel and userland.
- * Each process with a xenevt device instance open can regiter events it
+ * Each process with a xenevt device instance open can register events it
  * wants to receive. It will get pending events by read(), eventually blocking
  * until some event is available. Pending events are ack'd by a bitmask
  * write()en to the device. Some special operations (such as events binding)

Index: src/sys/dev/vnd.c
diff -u src/sys/dev/vnd.c:1.282 src/sys/dev/vnd.c:1.283
--- src/sys/dev/vnd.c:1.282	Tue Jun 29 22:40:53 2021
+++ src/sys/dev/vnd.c	Sat Jul 24 21:31:36 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: vnd.c,v 1.282 2021/06/29 22:40:53 dholland Exp $	*/
+/*	$NetBSD: vnd.c,v 1.283 2021/07/24 21:31:36 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008, 2020 The NetBSD Foundation, Inc.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.282 2021/06/29 22:40:53 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.283 2021/07/24 21:31:36 andvar Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_vnd.h"
@@ -1299,7 +1299,7 @@ vndioctl(dev_t dev, u_long cmd, void *da
 			uint32_t comp_size;
 			uint32_t comp_maxsize;
 
-			/* allocate space for compresed file header */
+			/* allocate space for compressed file header */
 			ch = malloc(sizeof(struct vnd_comp_header),
 			    M_TEMP, M_WAITOK);
 

Index: src/sys/dev/bi/kdbreg.h
diff -u src/sys/dev/bi/kdbreg.h:1.5 src/sys/dev/bi/kdbreg.h:1.6
--- src/sys/dev/bi/kdbreg.h:1.5	Sun Dec 11 12:21:15 2005
+++ src/sys/dev/bi/kdbreg.h	Sat Jul 24 21:31:36 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: kdbreg.h,v 1.5 2005/12/11 12:21:15 christos Exp $	*/
+/*	$NetBSD: kdbreg.h,v 1.6 2021/07/24 21:31:36 andvar Exp $	*/
 /*
  * Copyright (c) 1988 Regents of the University of California.
  * All rights reserved.
@@ -58,7 +58,7 @@ struct	kdb_regs {
  * Asserting KDB_MAP in values placed in mscp_seq.seq_buffer tells
  * the KDB to use mscp_seq.seq_mapbase as a set of PTEs and seq_buffer
  * as an offset value.  Hence we need no mappings; the KDB50 reads
- * the hardware page tables directly.  (Without KDB_MAP, seq_bufer
+ * the hardware page tables directly.  (Without KDB_MAP, seq_buffer
  * represents the physical memory address instead, and seq_mapbase is
  * unused.)
  */

Index: src/sys/dev/cardbus/fwohci_cardbus.c
diff -u src/sys/dev/cardbus/fwohci_cardbus.c:1.36 src/sys/dev/cardbus/fwohci_cardbus.c:1.37
--- src/sys/dev/cardbus/fwohci_cardbus.c:1.36	Thu Jul 14 04:19:26 2016
+++ src/sys/dev/cardbus/fwohci_cardbus.c	Sat Jul 24 21:31:36 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: fwohci_cardbus.c,v 1.36 2016/07/14 04:19:26 msaitoh Exp $	*/
+/*	$NetBSD: fwohci_cardbus.c,v 1.37 2021/07/24 21:31:36 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwohci_cardbus.c,v 1.36 2016/07/14 04:19:26 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwohci_cardbus.c,v 1.37 2021/07/24 21:31:36 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -127,7 +127,7 @@ fwohci_cardbus_attach(device_t parent, d
 		return;
 	}
 
-	/* XXX NULL should be replaced by some call to Cardbus coed */
+	/* XXX NULL should be replaced by some call to Cardbus code */
 	if (fwohci_attach(&sc->sc_sc) != 0) {
 		Cardbus_intr_disestablish(ct, sc->sc_ih);
 		sc->sc_ih = NULL;

Index: src/sys/dev/dm/dm_ioctl.c
diff -u src/sys/dev/dm/dm_ioctl.c:1.52 src/sys/dev/dm/dm_ioctl.c:1.53
--- src/sys/dev/dm/dm_ioctl.c:1.52	Mon Jun 21 03:16:43 2021
+++ src/sys/dev/dm/dm_ioctl.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_ioctl.c,v 1.52 2021/06/21 03:16:43 christos Exp $      */
+/* $NetBSD: dm_ioctl.c,v 1.53 2021/07/24 21:31:37 andvar Exp $      */
 
 /*
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.52 2021/06/21 03:16:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.53 2021/07/24 21:31:37 andvar Exp $");
 
 /*
  * Locking is used to synchronise between ioctl calls and between dm_table's
@@ -387,7 +387,7 @@ dm_dev_remove_ioctl(prop_dictionary_t dm
 
 	/*
 	 * This seems as hack to me, probably use routine dm_dev_get_devt to
-	 * atomicaly get devt from device.
+	 * atomically get devt from device.
 	 */
 	if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {
 		DM_REMOVE_FLAG(flags, DM_EXISTS_FLAG);

Index: src/sys/dev/dm/dm_target_flakey.c
diff -u src/sys/dev/dm/dm_target_flakey.c:1.3 src/sys/dev/dm/dm_target_flakey.c:1.4
--- src/sys/dev/dm/dm_target_flakey.c:1.3	Tue Jan 21 16:27:53 2020
+++ src/sys/dev/dm/dm_target_flakey.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*        $NetBSD: dm_target_flakey.c,v 1.3 2020/01/21 16:27:53 tkusumi Exp $      */
+/*        $NetBSD: dm_target_flakey.c,v 1.4 2021/07/24 21:31:37 andvar Exp $      */
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_target_flakey.c,v 1.3 2020/01/21 16:27:53 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target_flakey.c,v 1.4 2021/07/24 21:31:37 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -365,7 +365,7 @@ _flakey_nestiobuf_iodone(buf_t *bp)
 	if (bp->b_error == 0 &&
 	    (bp->b_bcount < bp->b_bufsize || bp->b_resid > 0)) {
 		/*
-		 * Not all got transfered, raise an error. We have no way to
+		 * Not all got transferred, raise an error. We have no way to
 		 * propagate these conditions to mbp.
 		 */
 		error = EIO;

Index: src/sys/dev/hpc/files.hpcio
diff -u src/sys/dev/hpc/files.hpcio:1.6 src/sys/dev/hpc/files.hpcio:1.7
--- src/sys/dev/hpc/files.hpcio:1.6	Mon Oct  9 10:33:42 2006
+++ src/sys/dev/hpc/files.hpcio	Sat Jul 24 21:31:37 2021
@@ -1,9 +1,9 @@
-#	$NetBSD: files.hpcio,v 1.6 2006/10/09 10:33:42 peter Exp $
+#	$NetBSD: files.hpcio,v 1.7 2021/07/24 21:31:37 andvar Exp $
 #	H/PC GPIO interface
 
 #  platform:
 #    iochip: sepecify GPIO chip
-#    evtype: event tyep of config_hook
+#    evtype: event type of config_hook
 #        id: event id of config_hook
 #      port: port number on GPIO
 #    active: which value is 'ON', 0 or 1.

Index: src/sys/dev/ic/adw.c
diff -u src/sys/dev/ic/adw.c:1.57 src/sys/dev/ic/adw.c:1.58
--- src/sys/dev/ic/adw.c:1.57	Sat Apr 24 23:36:55 2021
+++ src/sys/dev/ic/adw.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: adw.c,v 1.57 2021/04/24 23:36:55 thorpej Exp $	 */
+/* $NetBSD: adw.c,v 1.58 2021/07/24 21:31:37 andvar Exp $	 */
 
 /*
  * Generic driver for the Advanced Systems Inc. SCSI controllers
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adw.c,v 1.57 2021/04/24 23:36:55 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adw.c,v 1.58 2021/07/24 21:31:37 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1132,7 +1132,7 @@ adw_isr_callback(ADW_SOFTC *sc, ADW_SCSI
 			 * the host adapter.
 			 */
 			aprint_error_dev(sc->sc_dev,
-			    "DMA Error. Reseting bus\n");
+			    "DMA Error. Resetting bus\n");
 			TAILQ_REMOVE(&sc->sc_pending_ccb, ccb, chain);
 			adw_reset_bus(sc);
 			xs->error = XS_BUSY;
@@ -1141,7 +1141,7 @@ adw_isr_callback(ADW_SOFTC *sc, ADW_SCSI
 		case QHSTA_M_WTM_TIMEOUT:
 		case QHSTA_M_SXFR_WD_TMO:
 			/* The SCSI bus hung in a phase */
-			printf("%s: Watch Dog timer expired. Reseting bus\n",
+			printf("%s: Watch Dog timer expired. Resetting bus\n",
 				device_xname(sc->sc_dev));
 			TAILQ_REMOVE(&sc->sc_pending_ccb, ccb, chain);
 			adw_reset_bus(sc);

Index: src/sys/dev/ic/ahcisatareg.h
diff -u src/sys/dev/ic/ahcisatareg.h:1.15 src/sys/dev/ic/ahcisatareg.h:1.16
--- src/sys/dev/ic/ahcisatareg.h:1.15	Mon Jan 14 21:09:01 2019
+++ src/sys/dev/ic/ahcisatareg.h	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ahcisatareg.h,v 1.15 2019/01/14 21:09:01 jdolecek Exp $	*/
+/*	$NetBSD: ahcisatareg.h,v 1.16 2021/07/24 21:31:37 andvar Exp $	*/
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -120,7 +120,7 @@ struct ahci_r_fis {
 #define		AHCI_CAP_IS_GEN3	0x00300000 /* 6.0 Gb/s */
 #define		AHCI_CAP_CLO	0x01000000 /* Command list override */
 #define		AHCI_CAP_AL	0x02000000 /* Single Activitly LED */
-#define		AHCI_CAP_ALP	0x04000000 /* Agressive link power management */
+#define		AHCI_CAP_ALP	0x04000000 /* Aggressive link power management */
 #define		AHCI_CAP_SSU	0x08000000 /* Staggered spin-up */
 #define		AHCI_CAP_MPS	0x10000000 /* Mechanical swicth */
 #define		AHCI_CAP_NTF	0x20000000 /* Snotification */
@@ -221,8 +221,8 @@ struct ahci_r_fis {
 #define		AHCI_P_CMD_ICC_PA   0x20000000 /* State partial */
 #define		AHCI_P_CMD_ICC_AC   0x10000000 /* State active */
 #define		AHCI_P_CMD_ICC_NO   0x00000000 /* State idle/NOP */
-#define		AHCI_P_CMD_ASP	0x08000000 /* Agressive Slumber/Partial */
-#define		AHCI_P_CMD_ALPE	0x04000000 /* Agressive link power management */
+#define		AHCI_P_CMD_ASP	0x08000000 /* Aggressive Slumber/Partial */
+#define		AHCI_P_CMD_ALPE	0x04000000 /* Aggressive link power management */
 #define		AHCI_P_CMD_DLAE	0x02000000 /* drive LED on ATAPI */
 #define		AHCI_P_CMD_ATAP	0x01000000 /* Device is ATAPI */
 #define		AHCI_P_CMD_ESP	0x00200000 /* external SATA port */

Index: src/sys/dev/ic/aic79xx.c
diff -u src/sys/dev/ic/aic79xx.c:1.56 src/sys/dev/ic/aic79xx.c:1.57
--- src/sys/dev/ic/aic79xx.c:1.56	Sat Jun 27 17:07:49 2020
+++ src/sys/dev/ic/aic79xx.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: aic79xx.c,v 1.56 2020/06/27 17:07:49 jdolecek Exp $	*/
+/*	$NetBSD: aic79xx.c,v 1.57 2021/07/24 21:31:37 andvar Exp $	*/
 
 /*
  * Core routines and tables shareable across OS platforms.
@@ -49,7 +49,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.56 2020/06/27 17:07:49 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.57 2021/07/24 21:31:37 andvar Exp $");
 
 #include <dev/ic/aic79xx_osm.h>
 #include <dev/ic/aic79xx_inline.h>
@@ -1963,7 +1963,7 @@ ahd_handle_lqiphase_error(struct ahd_sof
 		ahd_outb(ahd, CLRINT, CLRSCSIINT);
 		ahd_unpause(ahd);
 	} else {
-		printf("Reseting Channel for LQI Phase error\n");
+		printf("Resetting Channel for LQI Phase error\n");
 		ahd_dump_card_state(ahd);
 		ahd_reset_channel(ahd, 'A', /*Initiate Reset*/TRUE);
 	}
@@ -8429,7 +8429,7 @@ ahd_check_patch(struct ahd_softc *ahd, c
 			cur_patch += cur_patch->skip_patch;
 		} else {
 			/* Accepted this patch.  Advance to the next
-			 * one and wait for our intruction pointer to
+			 * one and wait for our instruction pointer to
 			 * hit this point.
 			 */
 			cur_patch++;

Index: src/sys/dev/ic/aic7xxx.c
diff -u src/sys/dev/ic/aic7xxx.c:1.142 src/sys/dev/ic/aic7xxx.c:1.143
--- src/sys/dev/ic/aic7xxx.c:1.142	Sat Jun 27 17:07:49 2020
+++ src/sys/dev/ic/aic7xxx.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: aic7xxx.c,v 1.142 2020/06/27 17:07:49 jdolecek Exp $	*/
+/*	$NetBSD: aic7xxx.c,v 1.143 2021/07/24 21:31:37 andvar Exp $	*/
 
 /*
  * Core routines and tables shareable across OS platforms.
@@ -39,7 +39,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGES.
  *
- * $Id: aic7xxx.c,v 1.142 2020/06/27 17:07:49 jdolecek Exp $
+ * $Id: aic7xxx.c,v 1.143 2021/07/24 21:31:37 andvar Exp $
  *
  * //depot/aic7xxx/aic7xxx/aic7xxx.c#112 $
  *
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.142 2020/06/27 17:07:49 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.143 2021/07/24 21:31:37 andvar Exp $");
 
 #include <dev/ic/aic7xxx_osm.h>
 #include <dev/ic/aic7xxx_inline.h>
@@ -6391,7 +6391,7 @@ ahc_check_patch(struct ahc_softc *ahc, c
 			cur_patch += cur_patch->skip_patch;
 		} else {
 			/* Accepted this patch.  Advance to the next
-			 * one and wait for our intruction pointer to
+			 * one and wait for our instruction pointer to
 			 * hit this point.
 			 */
 			cur_patch++;

Index: src/sys/dev/ic/cs89x0.c
diff -u src/sys/dev/ic/cs89x0.c:1.49 src/sys/dev/ic/cs89x0.c:1.50
--- src/sys/dev/ic/cs89x0.c:1.49	Tue Feb  4 05:25:39 2020
+++ src/sys/dev/ic/cs89x0.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: cs89x0.c,v 1.49 2020/02/04 05:25:39 thorpej Exp $	*/
+/*	$NetBSD: cs89x0.c,v 1.50 2021/07/24 21:31:37 andvar Exp $	*/
 
 /*
  * Copyright (c) 2004 Christopher Gilbert
@@ -138,7 +138,7 @@
 **     to start transmitting after 381 bytes have been fed to it.  if that
 **     gets transmit underruns, ramp down to 1021 bytes then "whole
 **     packet."  If successful at a given level for a while, try the next
-**     more agressive level.  This code doesn't ever try to start
+**     more aggressive level.  This code doesn't ever try to start
 **     transmitting after 5 bytes have been sent to the NIC, because
 **     that underruns rather regularly.  The back-off and ramp-up mechanism
 **     could probably be tuned a little bit, but this works well enough to
@@ -175,7 +175,7 @@
 **       infrequent event.  It could have been used in the IFF_PROMISCUOUS
 **       address check above, but the benefit of it vs. memcmp would be
 **       inconsequential, there.)  Use memcmp() instead.
-**     * restructure csStartOuput to avoid the following bugs in the case where
+**     * restructure csStartOutput to avoid the following bugs in the case where
 **       txWait was being set:
 **         * it would accidentally drop the outgoing packet if told to wait
 **           but the outgoing packet queue was empty.
@@ -212,7 +212,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.49 2020/02/04 05:25:39 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.50 2021/07/24 21:31:37 andvar Exp $");
 
 #include "opt_inet.h"
 

Index: src/sys/dev/ic/lemacreg.h
diff -u src/sys/dev/ic/lemacreg.h:1.5 src/sys/dev/ic/lemacreg.h:1.6
--- src/sys/dev/ic/lemacreg.h:1.5	Sun Dec 11 12:21:27 2005
+++ src/sys/dev/ic/lemacreg.h	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*      $NetBSD: lemacreg.h,v 1.5 2005/12/11 12:21:27 christos Exp $ */
+/*      $NetBSD: lemacreg.h,v 1.6 2021/07/24 21:31:37 andvar Exp $ */
 
 /*
  * Copyright (c) 1994, 1995, 1997 Matt Thomas <m...@3am-software.com>
@@ -121,7 +121,7 @@
 #define LEMAC_TX_ISA		0x01	/* Insert Source Address (no) */
 #define LEMAC_TX_IFC		0x02	/* Insert Frame Check (yes) */
 #define LEMAC_TX_PAD		0x04	/* Zero PAD to minimum length (yes) */
-#define LEMAC_TX_LAB		0x08	/* Less Agressive Backoff (no) */
+#define LEMAC_TX_LAB		0x08	/* Less Aggressive Backoff (no) */
 #define LEMAC_TX_QMD		0x10	/* Q-Mode (yes) */
 #define LEMAC_TX_STP		0x20	/* Stop on Error (no) */
 #define LEMAC_TX_SQE		0x40	/* SQE Enable (yes) */

Index: src/sys/dev/ic/mfireg.h
diff -u src/sys/dev/ic/mfireg.h:1.10 src/sys/dev/ic/mfireg.h:1.11
--- src/sys/dev/ic/mfireg.h:1.10	Sat Oct  5 23:27:20 2019
+++ src/sys/dev/ic/mfireg.h	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: mfireg.h,v 1.10 2019/10/05 23:27:20 mrg Exp $ */
+/* $NetBSD: mfireg.h,v 1.11 2021/07/24 21:31:37 andvar Exp $ */
 /* $OpenBSD: mfireg.h,v 1.24 2006/06/19 19:05:45 marco Exp $ */
 /*
  * Copyright (c) 2006 Marco Peereboom <ma...@peereboom.us>
@@ -985,7 +985,7 @@ struct mfi_ld_list {
 	} mll_list[MFI_MAX_LD];
 } __packed;
 
-/* logicl disk details from MR_DCMD_LD_GET_INFO */
+/* logical disk details from MR_DCMD_LD_GET_INFO */
 struct mfi_ld_prop {
 	struct mfi_ld		mlp_ld;
 	char			mlp_name[16];

Index: src/sys/dev/ic/mpt_mpilib.h
diff -u src/sys/dev/ic/mpt_mpilib.h:1.3 src/sys/dev/ic/mpt_mpilib.h:1.4
--- src/sys/dev/ic/mpt_mpilib.h:1.3	Fri Jul 27 13:06:51 2007
+++ src/sys/dev/ic/mpt_mpilib.h	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: mpt_mpilib.h,v 1.3 2007/07/27 13:06:51 tron Exp $	*/
+/*	$NetBSD: mpt_mpilib.h,v 1.4 2021/07/24 21:31:37 andvar Exp $	*/
 
 /*
  * Copyright (c) 2000, 2001 by LSI Logic Corporation
@@ -2613,7 +2613,7 @@ typedef struct _MSG_FC_PRIMITIVE_SEND_RE
 *****************************************************************************/
 
 /****************************************************************************/
-/*  SCSI IO messages and assocaited structures                              */
+/*  SCSI IO messages and associated structures                              */
 /****************************************************************************/
 
 typedef struct _MSG_SCSI_IO_REQUEST

Index: src/sys/dev/ieee1394/fwdma.c
diff -u src/sys/dev/ieee1394/fwdma.c:1.17 src/sys/dev/ieee1394/fwdma.c:1.18
--- src/sys/dev/ieee1394/fwdma.c:1.17	Thu Dec 13 16:38:26 2018
+++ src/sys/dev/ieee1394/fwdma.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: fwdma.c,v 1.17 2018/12/13 16:38:26 jakllsch Exp $	*/
+/*	$NetBSD: fwdma.c,v 1.18 2021/07/24 21:31:37 andvar Exp $	*/
 /*-
  * Copyright (c) 2003
  * 	Hidetoshi Shimokawa. All rights reserved.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwdma.c,v 1.17 2018/12/13 16:38:26 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwdma.c,v 1.18 2021/07/24 21:31:37 andvar Exp $");
 #if defined(__FreeBSD__)
 __FBSDID("$FreeBSD: src/sys/dev/firewire/fwdma.c,v 1.9 2007/06/06 14:31:36 simokawa Exp $");
 #endif
@@ -143,7 +143,7 @@ fwdma_alloc_setup(device_t dev, bus_dma_
 
 /*
  * Allocate multisegment dma buffers
- * each segment size is eqaul to ssize except last segment.
+ * each segment size is equal to ssize except last segment.
  */
 struct fwdma_alloc_multi *
 fwdma_malloc_multiseg(struct firewire_comm *fc, int alignment, int esize, int n,

Index: src/sys/dev/isa/README.seagate
diff -u src/sys/dev/isa/README.seagate:1.6 src/sys/dev/isa/README.seagate:1.7
--- src/sys/dev/isa/README.seagate:1.6	Fri Dec 27 09:41:50 2019
+++ src/sys/dev/isa/README.seagate	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: README.seagate,v 1.6 2019/12/27 09:41:50 msaitoh Exp $
+#	$NetBSD: README.seagate,v 1.7 2021/07/24 21:31:37 andvar Exp $
 
 The hardware:
 
@@ -55,7 +55,7 @@ possible targets, and interrupt vector f
 
 Every scsi command to be issued are stored in a sea_scb structure. It contains
 a flag describing status/error of the command, current data buffer position,
-and number of bytes remaining to be transfered.
+and number of bytes remaining to be transferred.
 
 
 PROBLEMS

Index: src/sys/dev/isa/sbdsp.c
diff -u src/sys/dev/isa/sbdsp.c:1.141 src/sys/dev/isa/sbdsp.c:1.142
--- src/sys/dev/isa/sbdsp.c:1.141	Sat Jun  8 08:02:38 2019
+++ src/sys/dev/isa/sbdsp.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sbdsp.c,v 1.141 2019/06/08 08:02:38 isaki Exp $	*/
+/*	$NetBSD: sbdsp.c,v 1.142 2021/07/24 21:31:37 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2008 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.141 2019/06/08 08:02:38 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.142 2021/07/24 21:31:37 andvar Exp $");
 
 #include "midi.h"
 #include "mpu.h"
@@ -1179,7 +1179,7 @@ sbdsp_pause(struct sbdsp_softc *sc)
 }
 
 /*
- * Turn on the speaker.  The SBK documention says this operation
+ * Turn on the speaker.  The SBK documentation says this operation
  * can take up to 1/10 of a second.  Higher level layers should
  * probably let the task sleep for this amount of time after
  * calling here.  Otherwise, things might not work (because

Index: src/sys/dev/marvell/gtidmac.c
diff -u src/sys/dev/marvell/gtidmac.c:1.17 src/sys/dev/marvell/gtidmac.c:1.18
--- src/sys/dev/marvell/gtidmac.c:1.17	Fri Dec 27 09:41:51 2019
+++ src/sys/dev/marvell/gtidmac.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: gtidmac.c,v 1.17 2019/12/27 09:41:51 msaitoh Exp $	*/
+/*	$NetBSD: gtidmac.c,v 1.18 2021/07/24 21:31:37 andvar Exp $	*/
 /*
  * Copyright (c) 2008, 2012, 2016 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.17 2019/12/27 09:41:51 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.18 2021/07/24 21:31:37 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -130,7 +130,7 @@ struct gtidmac_softc {
 	struct {
 		bus_dmamap_t chan_in[MVXORE_NSRC];	/* In dmamap */
 		bus_dmamap_t chan_out;			/* Out dmamap */
-		uint64_t chan_totalcnt;			/* total transfered */
+		uint64_t chan_totalcnt;			/* total transferred */
 		int chan_ddidx;
 		void *chan_running;			/* opaque object data */
 		void (*chan_dma_done)(void *, int, bus_dmamap_t *,

Index: src/sys/dev/microcode/aic7xxx/aicasm.c
diff -u src/sys/dev/microcode/aic7xxx/aicasm.c:1.10 src/sys/dev/microcode/aic7xxx/aicasm.c:1.11
--- src/sys/dev/microcode/aic7xxx/aicasm.c:1.10	Sat Jun 27 17:07:49 2020
+++ src/sys/dev/microcode/aic7xxx/aicasm.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: aicasm.c,v 1.10 2020/06/27 17:07:49 jdolecek Exp $	*/
+/*	$NetBSD: aicasm.c,v 1.11 2021/07/24 21:31:37 andvar Exp $	*/
 
 /*
  * Aic7xxx SCSI host adapter firmware asssembler
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: aicasm.c,v 1.10 2020/06/27 17:07:49 jdolecek Exp $");
+__RCSID("$NetBSD: aicasm.c,v 1.11 2021/07/24 21:31:37 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/mman.h>
@@ -667,7 +667,7 @@ check_patch(patch_t **start_patch, int s
 				cur_patch = STAILQ_NEXT(cur_patch, links);
 		} else {
 			/* Accepted this patch.  Advance to the next
-			 * one and wait for our intruction pointer to
+			 * one and wait for our instruction pointer to
 			 * hit this point.
 			 */
 			cur_patch = STAILQ_NEXT(cur_patch, links);

Index: src/sys/dev/pci/if_ena.c
diff -u src/sys/dev/pci/if_ena.c:1.29 src/sys/dev/pci/if_ena.c:1.30
--- src/sys/dev/pci/if_ena.c:1.29	Mon Jul 19 21:16:33 2021
+++ src/sys/dev/pci/if_ena.c	Sat Jul 24 21:31:37 2021
@@ -36,7 +36,7 @@
 #if 0
 __FBSDID("$FreeBSD: head/sys/dev/ena/ena.c 333456 2018-05-10 09:37:54Z mw $");
 #endif
-__KERNEL_RCSID(0, "$NetBSD: if_ena.c,v 1.29 2021/07/19 21:16:33 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ena.c,v 1.30 2021/07/24 21:31:37 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -256,7 +256,7 @@ static const ena_vendor_info_t ena_vendo
 };
 
 /*
- * Contains pointers to event handlers, e.g. link state chage.
+ * Contains pointers to event handlers, e.g. link state change.
  */
 static struct ena_aenq_handlers aenq_handlers;
 

Index: src/sys/dev/pci/if_vge.c
diff -u src/sys/dev/pci/if_vge.c:1.80 src/sys/dev/pci/if_vge.c:1.81
--- src/sys/dev/pci/if_vge.c:1.80	Sat Mar 21 16:56:00 2020
+++ src/sys/dev/pci/if_vge.c	Sat Jul 24 21:31:37 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: if_vge.c,v 1.80 2020/03/21 16:56:00 thorpej Exp $ */
+/* $NetBSD: if_vge.c,v 1.81 2021/07/24 21:31:37 andvar Exp $ */
 
 /*-
  * Copyright (c) 2004
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.80 2020/03/21 16:56:00 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.81 2021/07/24 21:31:37 andvar Exp $");
 
 /*
  * VIA Networking Technologies VT612x PCI gigabit ethernet NIC driver.
@@ -1807,7 +1807,7 @@ vge_init(struct ifnet *ifp)
 	/* Set collision backoff algorithm */
 	CSR_CLRBIT_1(sc, VGE_CHIPCFG1, VGE_CHIPCFG1_CRANDOM |
 	    VGE_CHIPCFG1_CAP | VGE_CHIPCFG1_MBA | VGE_CHIPCFG1_BAKOPT);
-	CSR_SETBIT_1(sc, VGE_CHIPCFG1, VGE_CHIPCFG1_OFSET);
+	CSR_SETBIT_1(sc, VGE_CHIPCFG1, VGE_CHIPCFG1_OFFSET);
 
 	/* Disable LPSEL field in priority resolution */
 	CSR_SETBIT_1(sc, VGE_DIAGCTL, VGE_DIAGCTL_LPSEL_DIS);

Index: src/sys/dev/pci/if_vgereg.h
diff -u src/sys/dev/pci/if_vgereg.h:1.5 src/sys/dev/pci/if_vgereg.h:1.6
--- src/sys/dev/pci/if_vgereg.h:1.5	Tue Oct  8 14:26:27 2019
+++ src/sys/dev/pci/if_vgereg.h	Sat Jul 24 21:31:37 2021
@@ -463,7 +463,7 @@
 #define VGE_CHIPCFG1_MBA	0x02
 #define VGE_CHIPCFG1_CAP	0x04
 #define VGE_CHIPCFG1_CRANDOM	0x08
-#define VGE_CHIPCFG1_OFSET	0x10
+#define VGE_CHIPCFG1_OFFSET	0x10
 #define VGE_CHIPCFG1_SLOTTIME	0x20	/* slot time 512/500 in giga mode */
 #define VGE_CHIPCFG1_MIIOPT	0x40
 #define VGE_CHIPCFG1_GTCKOPT	0x80

Index: src/sys/dev/pci/ixgbe/ixgbe_common.c
diff -u src/sys/dev/pci/ixgbe/ixgbe_common.c:1.31 src/sys/dev/pci/ixgbe/ixgbe_common.c:1.32
--- src/sys/dev/pci/ixgbe/ixgbe_common.c:1.31	Fri Apr 30 06:55:32 2021
+++ src/sys/dev/pci/ixgbe/ixgbe_common.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_common.c,v 1.31 2021/04/30 06:55:32 msaitoh Exp $ */
+/* $NetBSD: ixgbe_common.c,v 1.32 2021/07/24 21:31:38 andvar Exp $ */
 
 /******************************************************************************
   SPDX-License-Identifier: BSD-3-Clause
@@ -36,7 +36,7 @@
 /*$FreeBSD: head/sys/dev/ixgbe/ixgbe_common.c 331224 2018-03-19 20:55:05Z erj $*/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.31 2021/04/30 06:55:32 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.32 2021/07/24 21:31:38 andvar Exp $");
 
 #include "ixgbe_common.h"
 #include "ixgbe_phy.h"
@@ -5034,8 +5034,8 @@ s32 ixgbe_bypass_rw_generic(struct ixgbe
  * ixgbe_bypass_valid_rd_generic - Verify valid return from bit-bang.
  *
  * If we send a write we can't be sure it took until we can read back
- * that same register.  It can be a problem as some of the feilds may
- * for valid reasons change inbetween the time wrote the register and
+ * that same register.  It can be a problem as some of the fields may
+ * for valid reasons change in-between the time wrote the register and
  * we read it again to verify.  So this function check everything we
  * can check and then assumes it worked.
  *

Index: src/sys/dev/spi/mcp23s17.c
diff -u src/sys/dev/spi/mcp23s17.c:1.2 src/sys/dev/spi/mcp23s17.c:1.3
--- src/sys/dev/spi/mcp23s17.c:1.2	Sat Apr 24 23:36:59 2021
+++ src/sys/dev/spi/mcp23s17.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/*      $NetBSD: mcp23s17.c,v 1.2 2021/04/24 23:36:59 thorpej Exp $ */
+/*      $NetBSD: mcp23s17.c,v 1.3 2021/07/24 21:31:38 andvar Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mcp23s17.c,v 1.2 2021/04/24 23:36:59 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcp23s17.c,v 1.3 2021/07/24 21:31:38 andvar Exp $");
 
 /* 
  * Driver for Microchip MCP23S17 GPIO
@@ -274,7 +274,7 @@ mcp23s17gpio_gpio_pin_ctl(void *arg, int
 	if (flags & (GPIO_PIN_OUTPUT|GPIO_PIN_INPUT)) {
 		data = mcp23s17gpio_read(sc, MCP23x17_IODIR(sc->sc_bank, port));
 		if ((flags & GPIO_PIN_INPUT) || !(flags & GPIO_PIN_OUTPUT)) {
-			/* for safety INPUT will overide output */
+			/* for safety INPUT will override output */
 			data |= bit;
 		} else {
 			data &= ~bit;

Index: src/sys/fs/msdosfs/msdosfs_lookup.c
diff -u src/sys/fs/msdosfs/msdosfs_lookup.c:1.36 src/sys/fs/msdosfs/msdosfs_lookup.c:1.37
--- src/sys/fs/msdosfs/msdosfs_lookup.c:1.36	Sat Apr  4 20:49:30 2020
+++ src/sys/fs/msdosfs/msdosfs_lookup.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: msdosfs_lookup.c,v 1.36 2020/04/04 20:49:30 ad Exp $	*/
+/*	$NetBSD: msdosfs_lookup.c,v 1.37 2021/07/24 21:31:38 andvar Exp $	*/
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -52,7 +52,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msdosfs_lookup.c,v 1.36 2020/04/04 20:49:30 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_lookup.c,v 1.37 2021/07/24 21:31:38 andvar Exp $");
 
 #include <sys/param.h>
 
@@ -1046,7 +1046,7 @@ removede(struct denode *pdep, struct den
 		offset += sizeof(struct direntry);
 		while (1) {
 			/*
-			 * We are a bit agressive here in that we delete any Win95
+			 * We are a bit aggressive here in that we delete any Win95
 			 * entries preceding this entry, not just the ones we "own".
 			 * Since these presumably aren't valid anyway,
 			 * there should be no harm.

Index: src/sys/fs/nilfs/nilfs_vnops.c
diff -u src/sys/fs/nilfs/nilfs_vnops.c:1.43 src/sys/fs/nilfs/nilfs_vnops.c:1.44
--- src/sys/fs/nilfs/nilfs_vnops.c:1.43	Tue Jun 29 22:34:07 2021
+++ src/sys/fs/nilfs/nilfs_vnops.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: nilfs_vnops.c,v 1.43 2021/06/29 22:34:07 dholland Exp $	*/
+/*	$NetBSD: nilfs_vnops.c,v 1.44 2021/07/24 21:31:38 andvar Exp $	*/
 
 /*
  * Copyright (c) 2008, 2009 Reinoud Zandijk
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.43 2021/06/29 22:34:07 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.44 2021/07/24 21:31:38 andvar Exp $");
 #endif /* not lint */
 
 
@@ -596,7 +596,7 @@ nilfs_readdir(void *v)
 		}
 		brelse(bp, BC_AGE);
 
-		/* pass on last transfered offset */
+		/* pass on last transferred offset */
 		uio->uio_offset = transoffset;
 	}
 

Index: src/sys/fs/puffs/puffs_vnops.c
diff -u src/sys/fs/puffs/puffs_vnops.c:1.221 src/sys/fs/puffs/puffs_vnops.c:1.222
--- src/sys/fs/puffs/puffs_vnops.c:1.221	Mon Jul 19 01:30:24 2021
+++ src/sys/fs/puffs/puffs_vnops.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: puffs_vnops.c,v 1.221 2021/07/19 01:30:24 dholland Exp $	*/
+/*	$NetBSD: puffs_vnops.c,v 1.222 2021/07/24 21:31:38 andvar Exp $	*/
 
 /*
  * Copyright (c) 2005, 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.221 2021/07/19 01:30:24 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.222 2021/07/24 21:31:38 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -1048,7 +1048,7 @@ puffs_vnop_getattr(void *v)
 	/*
 	 * A lock is required so that we do not race with 
 	 * setattr, write and fsync when changing vp->v_size.
-	 * This is critical, since setting a stall smaler value
+	 * This is critical, since setting a stall smaller value
 	 * triggers a file truncate in uvm_vnp_setsize(), which
 	 * most of the time means data corruption (a chunk of
 	 * data is replaced by zeroes). This can be removed if

Index: src/sys/fs/udf/udf_allocation.c
diff -u src/sys/fs/udf/udf_allocation.c:1.41 src/sys/fs/udf/udf_allocation.c:1.42
--- src/sys/fs/udf/udf_allocation.c:1.41	Thu Apr 23 21:47:08 2020
+++ src/sys/fs/udf/udf_allocation.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_allocation.c,v 1.41 2020/04/23 21:47:08 ad Exp $ */
+/* $NetBSD: udf_allocation.c,v 1.42 2021/07/24 21:31:38 andvar Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.41 2020/04/23 21:47:08 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.42 2021/07/24 21:31:38 andvar Exp $");
 #endif /* not lint */
 
 
@@ -1672,7 +1672,7 @@ udf_late_allocate_buf(struct udf_mount *
 	if (error) {
 		/*
 		 * ARGH! we haven't done our accounting right! it should
-		 * allways succeed.
+		 * always succeed.
 		 */
 		panic("UDF disc allocation accounting gone wrong");
 	}

Index: src/sys/fs/udf/udf_subr.c
diff -u src/sys/fs/udf/udf_subr.c:1.153 src/sys/fs/udf/udf_subr.c:1.154
--- src/sys/fs/udf/udf_subr.c:1.153	Tue Apr 13 06:25:49 2021
+++ src/sys/fs/udf/udf_subr.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.153 2021/04/13 06:25:49 mrg Exp $ */
+/* $NetBSD: udf_subr.c,v 1.154 2021/07/24 21:31:38 andvar Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.153 2021/04/13 06:25:49 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.154 2021/07/24 21:31:38 andvar Exp $");
 #endif /* not lint */
 
 
@@ -2089,7 +2089,7 @@ udf_process_vds(struct udf_mount *ump) {
 	/*
 	 * Determine sheduler error behaviour. For virtual partitions, update
 	 * the trackinfo; for sparable partitions replace a whole block on the
-	 * sparable table. Allways requeue.
+	 * sparable table. Always requeue.
 	 */
 	ump->lvreadwrite = 0;
 	if (n_virt)
@@ -2320,11 +2320,11 @@ udf_create_parentfid(struct udf_mount *u
  * sub-files. In the stream directory a few fixed named subfiles are reserved
  * for NT/Unix ACL's and OS/2 attributes.
  *
- * NOTE: Extended attributes are read randomly but allways written
- * *atomicaly*. For ACL's this interface is propably different but not known
+ * NOTE: Extended attributes are read randomly but always written
+ * *atomically*. For ACL's this interface is probably different but not known
  * to me yet.
  *
- * Order of extended attributes in a space :
+ * Order of extended attributes in a space:
  *   ECMA 167 EAs
  *   Non block aligned Implementation Use EAs
  *   Block aligned Implementation Use EAs

Index: src/sys/fs/udf/udf_vfsops.c
diff -u src/sys/fs/udf/udf_vfsops.c:1.80 src/sys/fs/udf/udf_vfsops.c:1.81
--- src/sys/fs/udf/udf_vfsops.c:1.80	Tue Apr 14 12:47:44 2020
+++ src/sys/fs/udf/udf_vfsops.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vfsops.c,v 1.80 2020/04/14 12:47:44 reinoud Exp $ */
+/* $NetBSD: udf_vfsops.c,v 1.81 2021/07/24 21:31:38 andvar Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vfsops.c,v 1.80 2020/04/14 12:47:44 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vfsops.c,v 1.81 2021/07/24 21:31:38 andvar Exp $");
 #endif /* not lint */
 
 
@@ -702,7 +702,7 @@ udf_mountfs(struct vnode *devvp, struct 
 	/* setup rest of mount information */
 	mp->mnt_data = ump;
 
-	/* bshift is allways equal to disc sector size */
+	/* bshift is always equal to disc sector size */
 	mp->mnt_dev_bshift = bshift;
 	mp->mnt_fs_bshift  = bshift;
 

Index: src/sys/fs/udf/udf_vnops.c
diff -u src/sys/fs/udf/udf_vnops.c:1.115 src/sys/fs/udf/udf_vnops.c:1.116
--- src/sys/fs/udf/udf_vnops.c:1.115	Tue Jun 29 22:34:07 2021
+++ src/sys/fs/udf/udf_vnops.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.115 2021/06/29 22:34:07 dholland Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.116 2021/07/24 21:31:38 andvar Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.115 2021/06/29 22:34:07 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.116 2021/07/24 21:31:38 andvar Exp $");
 #endif /* not lint */
 
 
@@ -626,7 +626,7 @@ udf_readdir(void *v)
 			uiomove(dirent, _DIRENT_SIZE(dirent), uio);
 		}
 
-		/* pass on last transfered offset */
+		/* pass on last transferred offset */
 		uio->uio_offset = transoffset;
 		free(fid, M_UDFTEMP);
 	}

Index: src/sys/net80211/ieee80211_ioctl.c
diff -u src/sys/net80211/ieee80211_ioctl.c:1.67 src/sys/net80211/ieee80211_ioctl.c:1.68
--- src/sys/net80211/ieee80211_ioctl.c:1.67	Sun Nov 10 21:16:38 2019
+++ src/sys/net80211/ieee80211_ioctl.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ieee80211_ioctl.c,v 1.67 2019/11/10 21:16:38 chs Exp $	*/
+/*	$NetBSD: ieee80211_ioctl.c,v 1.68 2021/07/24 21:31:38 andvar Exp $	*/
 /*-
  * Copyright (c) 2001 Atsushi Onoe
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_ioctl.c,v 1.35 2005/08/30 14:27:47 avatar Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_ioctl.c,v 1.67 2019/11/10 21:16:38 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_ioctl.c,v 1.68 2021/07/24 21:31:38 andvar Exp $");
 #endif
 
 /*
@@ -1413,7 +1413,7 @@ ieee80211_ioctl_get80211_fbsd(struct iee
  * themselves perilously close to exhausting the stack.
  *
  * To avoid this, we deliberately prevent gcc from inlining this
- * routine. Another way to avoid this is to use less agressive
+ * routine. Another way to avoid this is to use less aggressive
  * optimization when compiling this file (i.e. -O instead of -O2)
  * but special-casing the compilation of this one module in the
  * build system would be awkward.

Index: src/sys/net80211/ieee80211_output.c
diff -u src/sys/net80211/ieee80211_output.c:1.65 src/sys/net80211/ieee80211_output.c:1.66
--- src/sys/net80211/ieee80211_output.c:1.65	Sat Feb 29 16:56:58 2020
+++ src/sys/net80211/ieee80211_output.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ieee80211_output.c,v 1.65 2020/02/29 16:56:58 mlelstv Exp $	*/
+/*	$NetBSD: ieee80211_output.c,v 1.66 2021/07/24 21:31:38 andvar Exp $	*/
 
 /*
  * Copyright (c) 2001 Atsushi Onoe
@@ -37,7 +37,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_output.c,v 1.34 2005/08/10 16:22:29 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_output.c,v 1.65 2020/02/29 16:56:58 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_output.c,v 1.66 2021/07/24 21:31:38 andvar Exp $");
 #endif
 
 #ifdef _KERNEL_OPT
@@ -2001,10 +2001,10 @@ ieee80211_beacon_update(struct ieee80211
 		struct ieee80211_wme_state *wme = &ic->ic_wme;
 
 		/*
-		 * Check for agressive mode change.  When there is
+		 * Check for aggressive mode change.  When there is
 		 * significant high priority traffic in the BSS
 		 * throttle back BE traffic by using conservative
-		 * parameters.  Otherwise BE uses agressive params
+		 * parameters.  Otherwise BE uses aggressive params
 		 * to optimize performance of legacy/non-QoS traffic.
 		 */
 		if (wme->wme_flags & WME_F_AGGRMODE) {

Index: src/sys/net80211/ieee80211_proto.c
diff -u src/sys/net80211/ieee80211_proto.c:1.36 src/sys/net80211/ieee80211_proto.c:1.37
--- src/sys/net80211/ieee80211_proto.c:1.36	Wed Jul 22 01:24:40 2020
+++ src/sys/net80211/ieee80211_proto.c	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ieee80211_proto.c,v 1.36 2020/07/22 01:24:40 msaitoh Exp $	*/
+/*	$NetBSD: ieee80211_proto.c,v 1.37 2021/07/24 21:31:38 andvar Exp $	*/
 /*-
  * Copyright (c) 2001 Atsushi Onoe
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_proto.c,v 1.23 2005/08/10 16:22:29 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_proto.c,v 1.36 2020/07/22 01:24:40 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_proto.c,v 1.37 2021/07/24 21:31:38 andvar Exp $");
 #endif
 
 /*
@@ -711,7 +711,7 @@ ieee80211_wme_initparams(struct ieee8021
 	/* NB: check ic_bss to avoid NULL deref on initial attach */
 	if (ic->ic_bss != NULL) {
 		/*
-		 * Calculate agressive mode switching threshold based
+		 * Calculate aggressive mode switching threshold based
 		 * on beacon interval.  This doesn't need locking since
 		 * we're only called before entering the RUN state at
 		 * which point we start sending beacon frames.
@@ -760,11 +760,11 @@ ieee80211_wme_updateparams_locked(struct
 	}
 
 	/*
-	 * This implements agressive mode as found in certain
+	 * This implements aggressive mode as found in certain
 	 * vendors' AP's.  When there is significant high
 	 * priority (VI/VO) traffic in the BSS throttle back BE
 	 * traffic by using conservative parameters.  Otherwise
-	 * BE uses agressive params to optimize performance of
+	 * BE uses aggressive params to optimize performance of
 	 * legacy/non-QoS traffic.
 	 */
         if ((ic->ic_opmode == IEEE80211_M_HOSTAP &&

Index: src/sys/net80211/ieee80211_proto.h
diff -u src/sys/net80211/ieee80211_proto.h:1.23 src/sys/net80211/ieee80211_proto.h:1.24
--- src/sys/net80211/ieee80211_proto.h:1.23	Wed Jan  4 03:05:24 2017
+++ src/sys/net80211/ieee80211_proto.h	Sat Jul 24 21:31:38 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ieee80211_proto.h,v 1.23 2017/01/04 03:05:24 nonaka Exp $	*/
+/*	$NetBSD: ieee80211_proto.h,v 1.24 2021/07/24 21:31:38 andvar Exp $	*/
 /*-
  * Copyright (c) 2001 Atsushi Onoe
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -210,10 +210,10 @@ struct chanAccParams {
 
 struct ieee80211_wme_state {
 	u_int	wme_flags;
-#define	WME_F_AGGRMODE	0x00000001	/* STATUS: WME agressive mode */
+#define	WME_F_AGGRMODE	0x00000001	/* STATUS: WME aggressive mode */
 	u_int	wme_hipri_traffic;	/* VI/VO frames in beacon interval */
-	u_int	wme_hipri_switch_thresh;/* agressive mode switch thresh */
-	u_int	wme_hipri_switch_hysteresis;/* agressive mode switch hysteresis */
+	u_int	wme_hipri_switch_thresh;/* aggressive mode switch thresh */
+	u_int	wme_hipri_switch_hysteresis;/* aggressive mode switch hysteresis */
 
 	struct wmeParams wme_params[4];		/* from assoc resp for each AC*/
 	struct chanAccParams wme_wmeChanParams;	/* WME params applied to self */

Index: src/sys/netinet/sctp_output.c
diff -u src/sys/netinet/sctp_output.c:1.22 src/sys/netinet/sctp_output.c:1.23
--- src/sys/netinet/sctp_output.c:1.22	Sat Jun 13 01:41:59 2020
+++ src/sys/netinet/sctp_output.c	Sat Jul 24 21:31:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sctp_output.c,v 1.22 2020/06/13 01:41:59 roy Exp $ */
+/*	$NetBSD: sctp_output.c,v 1.23 2021/07/24 21:31:39 andvar Exp $ */
 /*	$KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $	*/
 
 /*
@@ -30,7 +30,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.22 2020/06/13 01:41:59 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.23 2021/07/24 21:31:39 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ipsec.h"
@@ -2187,7 +2187,7 @@ sctp_lowlevel_chunk_output(struct sctp_i
 #endif
 		/*
 		 * If source address selection fails and we find no route then
-		 * the ip_ouput should fail as well with a NO_ROUTE_TO_HOST
+		 * the ip_output should fail as well with a NO_ROUTE_TO_HOST
 		 * type error. We probably should catch that somewhere and
 		 * abort the association right away (assuming this is an INIT
 		 * being sent).
@@ -8166,7 +8166,7 @@ static struct sctp_nets *
 sctp_select_hb_destination(struct sctp_tcb *stcb, struct timeval *now)
 {
 	struct sctp_nets *net, *hnet;
-	int ms_goneby, highest_ms, state_overide=0;
+	int ms_goneby, highest_ms, state_override=0;
 
 	SCTP_GETTIME_TIMEVAL(now);
 	highest_ms = 0;
@@ -8209,15 +8209,15 @@ sctp_select_hb_destination(struct sctp_t
 #endif
 		/* When the address state is unconfirmed but still considered reachable, we
 		 * HB at a higher rate. Once it goes confirmed OR reaches the "unreachable"
-		 * state, thenw we cut it back to HB at a more normal pace.
+		 * state, then we cut it back to HB at a more normal pace.
 		 */
 		if ((net->dest_state & (SCTP_ADDR_UNCONFIRMED|SCTP_ADDR_NOT_REACHABLE)) == SCTP_ADDR_UNCONFIRMED) {
-			state_overide = 1;
+			state_override = 1;
 		} else {
-			state_overide = 0;
+			state_override = 0;
 		}
 
-		if ((((unsigned int)ms_goneby >= net->RTO) || (state_overide)) &&
+		if ((((unsigned int)ms_goneby >= net->RTO) || (state_override)) &&
 		    (ms_goneby > highest_ms)) {
 			highest_ms = ms_goneby;
 			hnet = net;
@@ -8231,12 +8231,12 @@ sctp_select_hb_destination(struct sctp_t
 	}
 	if (hnet &&
 	   ((hnet->dest_state & (SCTP_ADDR_UNCONFIRMED|SCTP_ADDR_NOT_REACHABLE)) == SCTP_ADDR_UNCONFIRMED)) {
-		state_overide = 1;
+		state_override = 1;
 	} else {
-		state_overide = 0;
+		state_override = 0;
 	}
 
-	if (highest_ms && (((unsigned int)highest_ms >= hnet->RTO) || state_overide)) {
+	if (highest_ms && (((unsigned int)highest_ms >= hnet->RTO) || state_override)) {
 		/* Found the one with longest delay bounds
 		 * OR it is unconfirmed and still not marked
 		 * unreachable.

Index: src/sys/netinet/sctputil.c
diff -u src/sys/netinet/sctputil.c:1.16 src/sys/netinet/sctputil.c:1.17
--- src/sys/netinet/sctputil.c:1.16	Sun Jan 19 20:51:13 2020
+++ src/sys/netinet/sctputil.c	Sat Jul 24 21:31:39 2021
@@ -1,5 +1,5 @@
 /*	$KAME: sctputil.c,v 1.39 2005/06/16 20:54:06 jinmei Exp $	*/
-/*	$NetBSD: sctputil.c,v 1.16 2020/01/19 20:51:13 riastradh Exp $	*/
+/*	$NetBSD: sctputil.c,v 1.17 2021/07/24 21:31:39 andvar Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctputil.c,v 1.16 2020/01/19 20:51:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctputil.c,v 1.17 2021/07/24 21:31:39 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1268,7 +1268,7 @@ sctp_timer_start(int t_type, struct sctp
 	case SCTP_TIMER_TYPE_INPKILL:
 		/*
 		 * The inp is setup to die. We re-use the
-		 * signature_chage timer since that has
+		 * signature_change timer since that has
 		 * stopped and we are in the GONE state.
 		 */
 		tmr = &inp->sctp_ep.signature_change;
@@ -1456,7 +1456,7 @@ sctp_timer_stop(int t_type, struct sctp_
 	case SCTP_TIMER_TYPE_INPKILL:
 		/*
 		 * The inp is setup to die. We re-use the
-		 * signature_chage timer since that has
+		 * signature_change timer since that has
 		 * stopped and we are in the GONE state.
 		 */
 		tmr = &inp->sctp_ep.signature_change;

Index: src/sys/sys/disk.h
diff -u src/sys/sys/disk.h:1.76 src/sys/sys/disk.h:1.77
--- src/sys/sys/disk.h:1.76	Mon Mar 30 08:36:09 2020
+++ src/sys/sys/disk.h	Sat Jul 24 21:31:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: disk.h,v 1.76 2020/03/30 08:36:09 wiz Exp $	*/
+/*	$NetBSD: disk.h,v 1.77 2021/07/24 21:31:39 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 2004 The NetBSD Foundation, Inc.
@@ -87,7 +87,7 @@
 /*
  * Disk information dictionary.
  *
- * This contains general infomation for disk devices.
+ * This contains general information for disk devices.
  *
  *	<dict>
  *		<key>type</key>

Index: src/usr.bin/config/TODO
diff -u src/usr.bin/config/TODO:1.32 src/usr.bin/config/TODO:1.33
--- src/usr.bin/config/TODO:1.32	Thu Mar  5 22:44:19 2020
+++ src/usr.bin/config/TODO	Sat Jul 24 21:31:39 2021
@@ -74,7 +74,7 @@ o Retire "attach foo at bar with foo_bar
   are typical examples.  For ehci(4), EHCI-capable controller drivers implement
   "ehcibus" interface, like:
 
-	defne	ehcibus {}
+	define	ehcibus {}
 	device	imxehci: ehcibus
 
   These drivers' attach functions call config_found() to attach ehci(4) via
@@ -319,7 +319,7 @@ o Clean up linker scripts.
   o Remove .rel/.rela handlings.
 
     These are set in relocatable objects, and handled by dynamic linkers.
-    Totally irrelefant for kernels.
+    Totally irrelevant for kernels.
 
   o Clean up debug section handlings.
 
@@ -392,7 +392,7 @@ o Don't use -Ttext ${TEXTADDR}.
   Although ld(1)'s `-Ttext ${TEXTADDR}' is an easy way to specify the virtual
   base address of .text at link time, it needs to change command-line; in
   kernel build, Makefile needs to change to reflect kernel's configuration.
-  It is simpler to reflect kenel configuration using linker script via assym.h.
+  It is simpler to reflect kernel configuration using linker script via assym.h.
 
 o Convert ${DIAGNOSTIC} and ${DEBUG} as flags (defflag).
 
@@ -402,7 +402,7 @@ o Convert ${DIAGNOSTIC} and ${DEBUG} as 
 o Strictly define DIAGNOSTIC.
 
   It is possible to make DIAGNOSTIC kernel and modules binary-compatible with
-  non-DIAGNOSTIC ones.  In that case, debug type informations should match
+  non-DIAGNOSTIC ones.  In that case, debug type information should match
   theoretically (not confirmed).
 
 o Use suffix rules.
@@ -418,7 +418,7 @@ o Use suffix rules.
   DIAGNOSTIC/DEBUG.
 
   genassym(1) definitions will be split into per-source instead of the single
-  assym.h.  Dependencies are corrected and some of misterious dependencies on
+  assym.h.  Dependencies are corrected and some of mysterious dependencies on
   `Makefile' in sys/conf/Makefile.kern.inc can go away.
 
 o Define genassym(1) symbols per file.
@@ -448,7 +448,7 @@ o Clean up ${MD_OBJS} and friends in Mak
 
   Don't use ${MD_OBJS}, ${MD_LIBS}, ${MD_SFILES}, and ${MD_CFILES}.
 
-  List files in config(5)'s "file".  Override build rules only when neccesary.
+  List files in config(5)'s "file".  Override build rules only when necessary.
 
   Rely on the fact that config(1) parses files.${MACHINE} first, outputs
   files in the order it parses files.* (actually include depth), and

Index: src/usr.sbin/altq/altqstat/altqstat.c
diff -u src/usr.sbin/altq/altqstat/altqstat.c:1.8 src/usr.sbin/altq/altqstat/altqstat.c:1.9
--- src/usr.sbin/altq/altqstat/altqstat.c:1.8	Mon Aug 29 20:38:54 2011
+++ src/usr.sbin/altq/altqstat/altqstat.c	Sat Jul 24 21:31:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: altqstat.c,v 1.8 2011/08/29 20:38:54 joerg Exp $	*/
+/*	$NetBSD: altqstat.c,v 1.9 2021/07/24 21:31:39 andvar Exp $	*/
 /*	$KAME: altqstat.c,v 1.8 2002/10/27 03:19:35 kjc Exp $	*/
 /*
  * Copyright (C) 1999-2000
@@ -227,7 +227,7 @@ char *
 rate2str(double rate)
 {
 	char *buf;
-	static char r2sbuf[R2S_BUFS][RATESTR_MAX];  /* ring bufer */
+	static char r2sbuf[R2S_BUFS][RATESTR_MAX];  /* ring buffer */
 	static int idx = 0;
 
 	buf = r2sbuf[idx++];

Index: src/usr.sbin/lpr/lpd/recvjob.c
diff -u src/usr.sbin/lpr/lpd/recvjob.c:1.25 src/usr.sbin/lpr/lpd/recvjob.c:1.26
--- src/usr.sbin/lpr/lpd/recvjob.c:1.25	Fri Dec 27 09:41:52 2019
+++ src/usr.sbin/lpr/lpd/recvjob.c	Sat Jul 24 21:31:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: recvjob.c,v 1.25 2019/12/27 09:41:52 msaitoh Exp $	*/
+/*	$NetBSD: recvjob.c,v 1.26 2021/07/24 21:31:39 andvar Exp $	*/
 
 /*
  * Copyright (c) 1983, 1993
@@ -41,7 +41,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
 #if 0
 static char sccsid[] = "@(#)recvjob.c	8.2 (Berkeley) 4/27/95";
 #else
-__RCSID("$NetBSD: recvjob.c,v 1.25 2019/12/27 09:41:52 msaitoh Exp $");
+__RCSID("$NetBSD: recvjob.c,v 1.26 2021/07/24 21:31:39 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -302,7 +302,7 @@ read_number(const char *fn)
 }
 
 /*
- * Remove all the files associated with the current job being transfered.
+ * Remove all the files associated with the current job being transferred.
  */
 static void
 rcleanup(int signo)

Index: src/usr.sbin/sysinst/arch/mac68k/menus.md.de
diff -u src/usr.sbin/sysinst/arch/mac68k/menus.md.de:1.6 src/usr.sbin/sysinst/arch/mac68k/menus.md.de:1.7
--- src/usr.sbin/sysinst/arch/mac68k/menus.md.de:1.6	Thu Jun 20 00:43:56 2019
+++ src/usr.sbin/sysinst/arch/mac68k/menus.md.de	Sat Jul 24 21:31:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: menus.md.de,v 1.6 2019/06/20 00:43:56 christos Exp $	*/
+/*	$NetBSD: menus.md.de,v 1.7 2021/07/24 21:31:39 andvar Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -172,7 +172,7 @@ menu chooseid, title  "Partitionstyp?";
 		 * Automatically determine root mount points.  The first
 		 *  root-type filesystem is mounted on "/", all others
 		 *  will mount on "/altroot".  If there are multiple
-		 *  occurances of "/altroot" they will be picked up on
+		 *  occurrences of "/altroot" they will be picked up on
 		 *  the sanity_scan in the next step of the installation.
 		 */
 		for (i=0,map.root_cnt=0;i<map.usable_cnt;i++) {
Index: src/usr.sbin/sysinst/arch/mac68k/menus.md.en
diff -u src/usr.sbin/sysinst/arch/mac68k/menus.md.en:1.6 src/usr.sbin/sysinst/arch/mac68k/menus.md.en:1.7
--- src/usr.sbin/sysinst/arch/mac68k/menus.md.en:1.6	Thu Jun 20 00:43:56 2019
+++ src/usr.sbin/sysinst/arch/mac68k/menus.md.en	Sat Jul 24 21:31:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: menus.md.en,v 1.6 2019/06/20 00:43:56 christos Exp $	*/
+/*	$NetBSD: menus.md.en,v 1.7 2021/07/24 21:31:39 andvar Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -173,7 +173,7 @@ menu chooseid, title  "Partition Type?";
 		 * Automatically determine root mount points.  The first
 		 *  root-type filesystem is mounted on "/", all others
 		 *  will mount on "/altroot".  If there are multiple
-		 *  occurances of "/altroot" they will be picked up on
+		 *  occurrences of "/altroot" they will be picked up on
 		 *  the sanity_scan in the next step of the installation.
 		 */
 		for (i=0,map.root_cnt=0;i<map.usable_cnt;i++) {
Index: src/usr.sbin/sysinst/arch/mac68k/menus.md.es
diff -u src/usr.sbin/sysinst/arch/mac68k/menus.md.es:1.6 src/usr.sbin/sysinst/arch/mac68k/menus.md.es:1.7
--- src/usr.sbin/sysinst/arch/mac68k/menus.md.es:1.6	Thu Jun 20 00:43:56 2019
+++ src/usr.sbin/sysinst/arch/mac68k/menus.md.es	Sat Jul 24 21:31:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: menus.md.es,v 1.6 2019/06/20 00:43:56 christos Exp $	*/
+/*	$NetBSD: menus.md.es,v 1.7 2021/07/24 21:31:39 andvar Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -172,7 +172,7 @@ menu chooseid, title  "¿Tipo de particio
 		 * Automatically determine root mount points.  The first
 		 *  root-type filesystem is mounted on "/", all others
 		 *  will mount on "/altroot".  If there are multiple
-		 *  occurances of "/altroot" they will be picked up on
+		 *  occurrences of "/altroot" they will be picked up on
 		 *  the sanity_scan in the next step of the installation.
 		 */
 		for (i=0,map.root_cnt=0;i<map.usable_cnt;i++) {
Index: src/usr.sbin/sysinst/arch/mac68k/menus.md.pl
diff -u src/usr.sbin/sysinst/arch/mac68k/menus.md.pl:1.6 src/usr.sbin/sysinst/arch/mac68k/menus.md.pl:1.7
--- src/usr.sbin/sysinst/arch/mac68k/menus.md.pl:1.6	Thu Jun 20 00:43:56 2019
+++ src/usr.sbin/sysinst/arch/mac68k/menus.md.pl	Sat Jul 24 21:31:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: menus.md.pl,v 1.6 2019/06/20 00:43:56 christos Exp $	*/
+/*	$NetBSD: menus.md.pl,v 1.7 2021/07/24 21:31:39 andvar Exp $	*/
 /*	Based on english version: */
 /*	NetBSD: menus.md.en,v 1.13 2001/11/29 23:20:58 thorpej Exp 	*/
 
@@ -174,7 +174,7 @@ menu chooseid, title  "Rodzaj partycji?"
 		 * Automatically determine root mount points.  The first
 		 *  root-type filesystem is mounted on "/", all others
 		 *  will mount on "/altroot".  If there are multiple
-		 *  occurances of "/altroot" they will be picked up on
+		 *  occurrences of "/altroot" they will be picked up on
 		 *  the sanity_scan in the next step of the installation.
 		 */
 		for (i=0,map.root_cnt=0;i<map.usable_cnt;i++) {

Index: src/usr.sbin/ypserv/yppush/yppush.c
diff -u src/usr.sbin/ypserv/yppush/yppush.c:1.24 src/usr.sbin/ypserv/yppush/yppush.c:1.25
--- src/usr.sbin/ypserv/yppush/yppush.c:1.24	Tue Aug 30 21:10:29 2011
+++ src/usr.sbin/ypserv/yppush/yppush.c	Sat Jul 24 21:31:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: yppush.c,v 1.24 2011/08/30 21:10:29 joerg Exp $	*/
+/*	$NetBSD: yppush.c,v 1.25 2021/07/24 21:31:39 andvar Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor
@@ -153,7 +153,7 @@ main(int argc, char *argv[])
 			    yperr_string(c));
 	}
 	/*
-         * verify that the domain and specified database exsists
+         * verify that the domain and specified database exists
          *
          * XXXCDC: this effectively prevents us from pushing from any
          * host but the master.   an alternate plan is to find the master

Reply via email to