summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/ksh/tty.c6
-rw-r--r--common/dist/zlib/zlib.h10
-rw-r--r--crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c4
-rw-r--r--crypto/external/bsd/libsaslc/dist/src/error.h4
-rw-r--r--dist/pf/sbin/pfctl/pfctl_altq.c4
-rwxr-xr-xexternal/mit/lua/dist/lua2netbsd4
-rw-r--r--sys/arch/alpha/alpha/db_trace.c6
-rw-r--r--sys/arch/arm/broadcom/bcm2835_gpio.c6
-rw-r--r--sys/arch/arm/imx/imx51_ccm.c8
-rw-r--r--sys/arch/arm/imx/imx51_ccmreg.h6
-rw-r--r--sys/arch/arm/xscale/ixp425_npe.c12
-rw-r--r--sys/arch/arm/xscale/ixp425_npereg.h4
-rw-r--r--sys/arch/cesfic/cesfic/pmap_bootstrap.c6
-rw-r--r--sys/arch/cobalt/stand/boot/tlp.c4
-rw-r--r--sys/arch/emips/ebus/ace_ebus.c6
-rw-r--r--sys/arch/emips/ebus/flash_ebus.c6
-rw-r--r--sys/arch/emips/stand/common/ace.c4
-rw-r--r--sys/arch/emips/stand/common/raw.c4
-rw-r--r--sys/arch/evbmips/stand/sbmips/common/blkdev.c4
-rw-r--r--sys/arch/hp300/hp300/pmap_bootstrap.c6
-rw-r--r--sys/arch/hppa/dev/ssio.c4
-rw-r--r--sys/arch/ia64/ia64/trap.c6
-rw-r--r--sys/arch/m68k/060sp/dist/isp.s6
-rw-r--r--sys/arch/m68k/m68k/db_disasm.c6
-rw-r--r--sys/arch/mac68k/mac68k/pmap_bootstrap.c6
-rw-r--r--sys/arch/macppc/dev/pbms.c4
-rw-r--r--sys/arch/mips/rmi/rmixlreg.h6
-rw-r--r--sys/arch/mipsco/stand/common/saio.c4
-rw-r--r--sys/arch/mvme68k/dev/sbicvar.h4
-rw-r--r--sys/arch/pmax/ibus/sii.c8
-rw-r--r--sys/arch/pmax/stand/common/rz.c4
-rw-r--r--sys/arch/powerpc/booke/spe_subr.S4
-rw-r--r--sys/arch/powerpc/powerpc/db_interface.c6
-rw-r--r--sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h4
-rw-r--r--sys/arch/prep/pnpbus/fdc_pnpbus.c6
-rw-r--r--sys/arch/prep/stand/boot/siop.c20
-rw-r--r--sys/arch/sgimips/sgimips/machdep.c6
-rw-r--r--sys/arch/sh3/sh3/exception_vector.S6
-rw-r--r--sys/arch/sh3/sh3/pmap.c12
-rw-r--r--sys/arch/sparc/stand/bootblk/bootblk.fth6
-rw-r--r--sys/arch/sparc64/dev/iommuvar.h4
-rw-r--r--sys/arch/usermode/usermode/pmap.c6
-rw-r--r--sys/arch/vax/vax/db_disasm.c6
-rw-r--r--sys/arch/xen/xen/xenevt.c6
-rw-r--r--sys/dev/bi/kdbreg.h4
-rw-r--r--sys/dev/cardbus/fwohci_cardbus.c6
-rw-r--r--sys/dev/dm/dm_ioctl.c6
-rw-r--r--sys/dev/dm/dm_target_flakey.c6
-rw-r--r--sys/dev/hpc/files.hpcio4
-rw-r--r--sys/dev/ic/adw.c8
-rw-r--r--sys/dev/ic/ahcisatareg.h8
-rw-r--r--sys/dev/ic/aic79xx.c8
-rw-r--r--sys/dev/ic/aic7xxx.c8
-rw-r--r--sys/dev/ic/cs89x0.c8
-rw-r--r--sys/dev/ic/lemacreg.h4
-rw-r--r--sys/dev/ic/mfireg.h4
-rw-r--r--sys/dev/ic/mpt_mpilib.h4
-rw-r--r--sys/dev/ieee1394/fwdma.c6
-rw-r--r--sys/dev/isa/README.seagate4
-rw-r--r--sys/dev/isa/sbdsp.c6
-rw-r--r--sys/dev/marvell/gtidmac.c6
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm.c6
-rw-r--r--sys/dev/pci/if_ena.c4
-rw-r--r--sys/dev/pci/if_vge.c6
-rw-r--r--sys/dev/pci/if_vgereg.h2
-rw-r--r--sys/dev/pci/ixgbe/ixgbe_common.c8
-rw-r--r--sys/dev/spi/mcp23s17.c6
-rw-r--r--sys/dev/vnd.c6
-rw-r--r--sys/fs/msdosfs/msdosfs_lookup.c6
-rw-r--r--sys/fs/nilfs/nilfs_vnops.c6
-rw-r--r--sys/fs/puffs/puffs_vnops.c6
-rw-r--r--sys/fs/udf/udf_allocation.c6
-rw-r--r--sys/fs/udf/udf_subr.c12
-rw-r--r--sys/fs/udf/udf_vfsops.c6
-rw-r--r--sys/fs/udf/udf_vnops.c6
-rw-r--r--sys/net80211/ieee80211_ioctl.c6
-rw-r--r--sys/net80211/ieee80211_output.c8
-rw-r--r--sys/net80211/ieee80211_proto.c10
-rw-r--r--sys/net80211/ieee80211_proto.h8
-rw-r--r--sys/netinet/sctp_output.c22
-rw-r--r--sys/netinet/sctputil.c8
-rw-r--r--sys/sys/disk.h4
-rw-r--r--usr.bin/config/TODO12
-rw-r--r--usr.sbin/altq/altqstat/altqstat.c4
-rw-r--r--usr.sbin/lpr/lpd/recvjob.c6
-rw-r--r--usr.sbin/sysinst/arch/mac68k/menus.md.de4
-rw-r--r--usr.sbin/sysinst/arch/mac68k/menus.md.en4
-rw-r--r--usr.sbin/sysinst/arch/mac68k/menus.md.es4
-rw-r--r--usr.sbin/sysinst/arch/mac68k/menus.md.pl4
-rw-r--r--usr.sbin/ypserv/yppush/yppush.c4
90 files changed, 279 insertions, 279 deletions
diff --git a/bin/ksh/tty.c b/bin/ksh/tty.c
index d106b3e0f9f..c3006d7b52e 100644
--- a/bin/ksh/tty.c
+++ b/bin/ksh/tty.c
@@ -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
diff --git a/common/dist/zlib/zlib.h b/common/dist/zlib/zlib.h
index da4faedac26..a440a19bcb5 100644
--- a/common/dist/zlib/zlib.h
+++ b/common/dist/zlib/zlib.h
@@ -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_streamp strm, int flush));
== 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_streamp strm,
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((voidp buf, z_size_t size, z_size_t nitems,
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,
diff --git a/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c b/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
index cc3b374dd57..d82afc58401 100644
--- a/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
+++ b/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
@@ -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,
diff --git a/crypto/external/bsd/libsaslc/dist/src/error.h b/crypto/external/bsd/libsaslc/dist/src/error.h
index a92b974be48..96daa41b35c 100644
--- a/crypto/external/bsd/libsaslc/dist/src/error.h
+++ b/crypto/external/bsd/libsaslc/dist/src/error.h
@@ -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
*/
diff --git a/dist/pf/sbin/pfctl/pfctl_altq.c b/dist/pf/sbin/pfctl/pfctl_altq.c
index cac57ce3055..3115dfc587e 100644
--- a/dist/pf/sbin/pfctl/pfctl_altq.c
+++ b/dist/pf/sbin/pfctl/pfctl_altq.c
@@ -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";
diff --git a/external/mit/lua/dist/lua2netbsd b/external/mit/lua/dist/lua2netbsd
index 95cc088dc29..c6cdebda110 100755
--- a/external/mit/lua/dist/lua2netbsd
+++ b/external/mit/lua/dist/lua2netbsd
@@ -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
diff --git a/sys/arch/alpha/alpha/db_trace.c b/sys/arch/alpha/alpha/db_trace.c
index 4428f62a35a..08554594360 100644
--- a/sys/arch/alpha/alpha/db_trace.c
+++ b/sys/arch/alpha/alpha/db_trace.c
@@ -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
diff --git a/sys/arch/arm/broadcom/bcm2835_gpio.c b/sys/arch/arm/broadcom/bcm2835_gpio.c
index c06f9f88312..3516cd71ac7 100644
--- a/sys/arch/arm/broadcom/bcm2835_gpio.c
+++ b/sys/arch/arm/broadcom/bcm2835_gpio.c
@@ -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 pin, int flags)
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);
diff --git a/sys/arch/arm/imx/imx51_ccm.c b/sys/arch/arm/imx/imx51_ccm.c
index 89b78795968..57506f64fc7 100644
--- a/sys/arch/arm/imx/imx51_ccm.c
+++ b/sys/arch/arm/imx/imx51_ccm.c
@@ -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;
diff --git a/sys/arch/arm/imx/imx51_ccmreg.h b/sys/arch/arm/imx/imx51_ccmreg.h
index 624152a56bc..873e8610902 100644
--- a/sys/arch/arm/imx/imx51_ccmreg.h
+++ b/sys/arch/arm/imx/imx51_ccmreg.h
@@ -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)
diff --git a/sys/arch/arm/xscale/ixp425_npe.c b/sys/arch/arm/xscale/ixp425_npe.c
index 068bd607927..7c8af6b63a2 100644
--- a/sys/arch/arm/xscale/ixp425_npe.c
+++ b/sys/arch/arm/xscale/ixp425_npe.c
@@ -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, const char *imageName, uint32_t imageId)
/*
* 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);
diff --git a/sys/arch/arm/xscale/ixp425_npereg.h b/sys/arch/arm/xscale/ixp425_npereg.h
index 9dd2779d09d..3a26c057a04 100644
--- a/sys/arch/arm/xscale/ixp425_npereg.h
+++ b/sys/arch/arm/xscale/ixp425_npereg.h
@@ -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
diff --git a/sys/arch/cesfic/cesfic/pmap_bootstrap.c b/sys/arch/cesfic/cesfic/pmap_bootstrap.c
index e6f99034d87..509f5a6aa2c 100644
--- a/sys/arch/cesfic/cesfic/pmap_bootstrap.c
+++ b/sys/arch/cesfic/cesfic/pmap_bootstrap.c
@@ -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 firstpa)
* 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
diff --git a/sys/arch/cobalt/stand/boot/tlp.c b/sys/arch/cobalt/stand/boot/tlp.c
index 14256e98690..c697340c3f2 100644
--- a/sys/arch/cobalt/stand/boot/tlp.c
+++ b/sys/arch/cobalt/stand/boot/tlp.c
@@ -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));
diff --git a/sys/arch/emips/ebus/ace_ebus.c b/sys/arch/emips/ebus/ace_ebus.c
index 70d8f663e18..587ea401580 100644
--- a/sys/arch/emips/ebus/ace_ebus.c
+++ b/sys/arch/emips/ebus/ace_ebus.c
@@ -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 */
diff --git a/sys/arch/emips/ebus/flash_ebus.c b/sys/arch/emips/ebus/flash_ebus.c
index 292a52264b3..260cbabf15c 100644
--- a/sys/arch/emips/ebus/flash_ebus.c
+++ b/sys/arch/emips/ebus/flash_ebus.c
@@ -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 */
diff --git a/sys/arch/emips/stand/common/ace.c b/sys/arch/emips/stand/common/ace.c
index 508c3f3e019..3aeb201e1f1 100644
--- a/sys/arch/emips/stand/common/ace.c
+++ b/sys/arch/emips/stand/common/ace.c
@@ -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;
diff --git a/sys/arch/emips/stand/common/raw.c b/sys/arch/emips/stand/common/raw.c
index e43ee9db53a..f21cae83b7c 100644
--- a/sys/arch/emips/stand/common/raw.c
+++ b/sys/arch/emips/stand/common/raw.c
@@ -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);
diff --git a/sys/arch/evbmips/stand/sbmips/common/blkdev.c b/sys/arch/evbmips/stand/sbmips/common/blkdev.c
index bd770e44561..6f90e9622a4 100644
--- a/sys/arch/evbmips/stand/sbmips/common/blkdev.c
+++ b/sys/arch/evbmips/stand/sbmips/common/blkdev.c
@@ -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 *fname, char **file)
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;
diff --git a/sys/arch/hp300/hp300/pmap_bootstrap.c b/sys/arch/hp300/hp300/pmap_bootstrap.c
index 83346c14af2..0f4b1f332c5 100644
--- a/sys/arch/hp300/hp300/pmap_bootstrap.c
+++ b/sys/arch/hp300/hp300/pmap_bootstrap.c
@@ -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 firstpa)
* 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
diff --git a/sys/arch/hppa/dev/ssio.c b/sys/arch/hppa/dev/ssio.c
index 06ba4cfa48f..84a53d627e0 100644
--- a/sys/arch/hppa/dev/ssio.c
+++ b/sys/arch/hppa/dev/ssio.c
@@ -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 self, void *aux)
#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),
diff --git a/sys/arch/ia64/ia64/trap.c b/sys/arch/ia64/ia64/trap.c
index dc8f93915d7..799aef1c202 100644
--- a/sys/arch/ia64/ia64/trap.c
+++ b/sys/arch/ia64/ia64/trap.c
@@ -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...
*/
diff --git a/sys/arch/m68k/060sp/dist/isp.s b/sys/arch/m68k/060sp/dist/isp.s
index 4048e892ef1..c73d3ff856e 100644
--- a/sys/arch/m68k/060sp/dist/isp.s
+++ b/sys/arch/m68k/060sp/dist/isp.s
@@ -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
diff --git a/sys/arch/m68k/m68k/db_disasm.c b/sys/arch/m68k/m68k/db_disasm.c
index 0fb6e59960b..c93572e0bb7 100644
--- a/sys/arch/m68k/m68k/db_disasm.c
+++ b/sys/arch/m68k/m68k/db_disasm.c
@@ -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[] = "0123456789abcdef";
#endif
/*
- * Disassemble intruction at location ``loc''.
+ * Disassemble instruction at location ``loc''.
* Returns location of next instruction.
*/
diff --git a/sys/arch/mac68k/mac68k/pmap_bootstrap.c b/sys/arch/mac68k/mac68k/pmap_bootstrap.c
index cfd5024e2ca..8a41acf80f9 100644
--- a/sys/arch/mac68k/mac68k/pmap_bootstrap.c
+++ b/sys/arch/mac68k/mac68k/pmap_bootstrap.c
@@ -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 firstpa)
* 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
diff --git a/sys/arch/macppc/dev/pbms.c b/sys/arch/macppc/dev/pbms.c
index f26d940dabe..466eda2919b 100644
--- a/sys/arch/macppc/dev/pbms.c
+++ b/sys/arch/macppc/dev/pbms.c
@@ -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. */
diff --git a/sys/arch/mips/rmi/rmixlreg.h b/sys/arch/mips/rmi/rmixlreg.h
index 47bfd34390b..c3fb6b776e1 100644
--- a/sys/arch/mips/rmi/rmixlreg.h
+++ b/sys/arch/mips/rmi/rmixlreg.h
@@ -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 */
diff --git a/sys/arch/mipsco/stand/common/saio.c b/sys/arch/mipsco/stand/common/saio.c
index 9d1728eacf7..7a699a2802b 100644
--- a/sys/arch/mipsco/stand/common/saio.c
+++ b/sys/arch/mipsco/stand/common/saio.c
@@ -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;
diff --git a/sys/arch/mvme68k/dev/sbicvar.h b/sys/arch/mvme68k/dev/sbicvar.h
index 6120a52c8a2..a12e3ec5ee0 100644
--- a/sys/arch/mvme68k/dev/sbicvar.h
+++ b/sys/arch/mvme68k/dev/sbicvar.h
@@ -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
diff --git a/sys/arch/pmax/ibus/sii.c b/sys/arch/pmax/ibus/sii.c
index 6b0f6e5c66c..3718ba5e444 100644
--- a/sys/arch/pmax/ibus/sii.c
+++ b/sys/arch/pmax/ibus/sii.c
@@ -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;
diff --git a/sys/arch/pmax/stand/common/rz.c b/sys/arch/pmax/stand/common/rz.c
index ac094748a49..ab9588cb23a 100644
--- a/sys/arch/pmax/stand/common/rz.c
+++ b/sys/arch/pmax/stand/common/rz.c
@@ -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;
diff --git a/sys/arch/powerpc/booke/spe_subr.S b/sys/arch/powerpc/booke/spe_subr.S
index 48b0ec66aa4..0286fccad8d 100644
--- a/sys/arch/powerpc/booke/spe_subr.S
+++ b/sys/arch/powerpc/booke/spe_subr.S
@@ -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
diff --git a/sys/arch/powerpc/powerpc/db_interface.c b/sys/arch/powerpc/powerpc/db_interface.c
index 4c08f98741f..ad0ab95f253 100644
--- a/sys/arch/powerpc/powerpc/db_interface.c
+++ b/sys/arch/powerpc/powerpc/db_interface.c
@@ -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();
}
diff --git a/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h b/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h
index 7e35d33700d..877c184bfa3 100644
--- a/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h
+++ b/sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h
@@ -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 */
diff --git a/sys/arch/prep/pnpbus/fdc_pnpbus.c b/sys/arch/prep/pnpbus/fdc_pnpbus.c
index a57e64e34b9..65b3c743b4a 100644
--- a/sys/arch/prep/pnpbus/fdc_pnpbus.c
+++ b/sys/arch/prep/pnpbus/fdc_pnpbus.c
@@ -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, device_t self, void *aux)
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);
diff --git a/sys/arch/prep/stand/boot/siop.c b/sys/arch/prep/stand/boot/siop.c
index 5941c9c2e9d..fdf4b65ff38 100644
--- a/sys/arch/prep/stand/boot/siop.c
+++ b/sys/arch/prep/stand/boot/siop.c
@@ -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, struct siop_xfer *xfer, struct scsi_xfer *xs,
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, struct siop_xfer *xfer, struct scsi_xfer *xs,
#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 *adp, struct scsi_xfer *xs)
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 *adp, struct scsi_xfer *xs)
* 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.
diff --git a/sys/arch/sgimips/sgimips/machdep.c b/sys/arch/sgimips/sgimips/machdep.c
index 857d8711815..461303031ac 100644
--- a/sys/arch/sgimips/sgimips/machdep.c
+++ b/sys/arch/sgimips/sgimips/machdep.c
@@ -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[], uintptr_t magic, int32_t bip32)
panic("invalid architecture");
/*
- * Get boot device infomation.
+ * Get boot device information.
*/
/* Try to get the boot device information from bootinfo first. */
diff --git a/sys/arch/sh3/sh3/exception_vector.S b/sys/arch/sh3/sh3/exception_vector.S
index 0a89941fef4..937c3afbc2c 100644
--- a/sys/arch/sh3/sh3/exception_vector.S
+++ b/sys/arch/sh3/sh3/exception_vector.S
@@ -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)
diff --git a/sys/arch/sh3/sh3/pmap.c b/sys/arch/sh3/sh3/pmap.c
index ae6a1c12069..57fed1ea9e2 100644
--- a/sys/arch/sh3/sh3/pmap.c
+++ b/sys/arch/sh3/sh3/pmap.c
@@ -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.83 2020/08/01 20:54:23 uwe Exp $");
(((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 va)
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));
}
/*
diff --git a/sys/arch/sparc/stand/bootblk/bootblk.fth b/sys/arch/sparc/stand/bootblk/bootblk.fth
index db0ada5b049..0107053a9c9 100644
--- a/sys/arch/sparc/stand/bootblk/bootblk.fth
+++ b/sys/arch/sparc/stand/bootblk/bootblk.fth
@@ -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, \ Current disk block.
: 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
;
diff --git a/sys/arch/sparc64/dev/iommuvar.h b/sys/arch/sparc64/dev/iommuvar.h
index 8d01d47a8ca..dc0f0506f91 100644
--- a/sys/arch/sparc64/dev/iommuvar.h
+++ b/sys/arch/sparc64/dev/iommuvar.h
@@ -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;
diff --git a/sys/arch/usermode/usermode/pmap.c b/sys/arch/usermode/usermode/pmap.c
index 2f1264c5017..3517b1e7163 100644
--- a/sys/arch/usermode/usermode/pmap.c
+++ b/sys/arch/usermode/usermode/pmap.c
@@ -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 <reinoud@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;
diff --git a/sys/arch/vax/vax/db_disasm.c b/sys/arch/vax/vax/db_disasm.c
index 63416ad5d65..3f8b4ac44a5 100644
--- a/sys/arch/vax/vax/db_disasm.c
+++ b/sys/arch/vax/vax/db_disasm.c
@@ -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;
diff --git a/sys/arch/xen/xen/xenevt.c b/sys/arch/xen/xen/xenevt.c
index 86c8c2771f1..9f682e61ee0 100644
--- a/sys/arch/xen/xen/xenevt.c
+++ b/sys/arch/xen/xen/xenevt.c
@@ -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.63 2021/01/11 22:02:28 skrll Exp $");
/*
* 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)
diff --git a/sys/dev/bi/kdbreg.h b/sys/dev/bi/kdbreg.h
index f978f31c455..df2b43d581d 100644
--- a/sys/dev/bi/kdbreg.h
+++ b/sys/dev/bi/kdbreg.h
@@ -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.)
*/
diff --git a/sys/dev/cardbus/fwohci_cardbus.c b/sys/dev/cardbus/fwohci_cardbus.c
index 0810aed8033..ff15c2d02bb 100644
--- a/sys/dev/cardbus/fwohci_cardbus.c
+++ b/sys/dev/cardbus/fwohci_cardbus.c
@@ -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, device_t self, void *aux)
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;
diff --git a/sys/dev/dm/dm_ioctl.c b/sys/dev/dm/dm_ioctl.c
index b2aff99ec9d..0b9474e4fda 100644
--- a/sys/dev/dm/dm_ioctl.c
+++ b/sys/dev/dm/dm_ioctl.c
@@ -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_dict)
/*
* 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);
diff --git a/sys/dev/dm/dm_target_flakey.c b/sys/dev/dm/dm_target_flakey.c
index dbd9adbf0fe..7f1b63065c2 100644
--- a/sys/dev/dm/dm_target_flakey.c
+++ b/sys/dev/dm/dm_target_flakey.c
@@ -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;
diff --git a/sys/dev/hpc/files.hpcio b/sys/dev/hpc/files.hpcio
index fa54b5237a4..5e61534bcfc 100644
--- a/sys/dev/hpc/files.hpcio
+++ b/sys/dev/hpc/files.hpcio
@@ -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.
diff --git a/sys/dev/ic/adw.c b/sys/dev/ic/adw.c
index 1f70003d59b..9b5e663b070 100644
--- a/sys/dev/ic/adw.c
+++ b/sys/dev/ic/adw.c
@@ -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_REQ_Q *scsiq)
* 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_REQ_Q *scsiq)
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);
diff --git a/sys/dev/ic/ahcisatareg.h b/sys/dev/ic/ahcisatareg.h
index 2301bfb504a..aa1238cf910 100644
--- a/sys/dev/ic/ahcisatareg.h
+++ b/sys/dev/ic/ahcisatareg.h
@@ -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 */
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index 9debd339961..ab66946ea00 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -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_softc *ahd, u_int lqistat1)
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, const struct patch **start_patch,
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++;
diff --git a/sys/dev/ic/aic7xxx.c b/sys/dev/ic/aic7xxx.c
index 3fc8c79f90e..3600b811e23 100644
--- a/sys/dev/ic/aic7xxx.c
+++ b/sys/dev/ic/aic7xxx.c
@@ -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, const struct patch **start_patch,
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++;
diff --git a/sys/dev/ic/cs89x0.c b/sys/dev/ic/cs89x0.c
index 07d083298ba..dfe06439cd2 100644
--- a/sys/dev/ic/cs89x0.c
+++ b/sys/dev/ic/cs89x0.c
@@ -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"
diff --git a/sys/dev/ic/lemacreg.h b/sys/dev/ic/lemacreg.h
index 6fccab9fe1d..109966c7838 100644
--- a/sys/dev/ic/lemacreg.h
+++ b/sys/dev/ic/lemacreg.h
@@ -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 <matt@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) */
diff --git a/sys/dev/ic/mfireg.h b/sys/dev/ic/mfireg.h
index a8572a9da25..af4f81c9688 100644
--- a/sys/dev/ic/mfireg.h
+++ b/sys/dev/ic/mfireg.h
@@ -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 <marco@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];
diff --git a/sys/dev/ic/mpt_mpilib.h b/sys/dev/ic/mpt_mpilib.h
index 17f7c3033a4..639244f5bd5 100644
--- a/sys/dev/ic/mpt_mpilib.h
+++ b/sys/dev/ic/mpt_mpilib.h
@@ -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_REPLY
*****************************************************************************/
/****************************************************************************/
-/* SCSI IO messages and assocaited structures */
+/* SCSI IO messages and associated structures */
/****************************************************************************/
typedef struct _MSG_SCSI_IO_REQUEST
diff --git a/sys/dev/ieee1394/fwdma.c b/sys/dev/ieee1394/fwdma.c
index 358ad9da859..09300fdc76b 100644
--- a/sys/dev/ieee1394/fwdma.c
+++ b/sys/dev/ieee1394/fwdma.c
@@ -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_tag_t dmat, bus_size_t size,
/*
* 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,
diff --git a/sys/dev/isa/README.seagate b/sys/dev/isa/README.seagate
index 5ed04a8a9e4..01c3751e6ef 100644
--- a/sys/dev/isa/README.seagate
+++ b/sys/dev/isa/README.seagate
@@ -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 for the card.
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
diff --git a/sys/dev/isa/sbdsp.c b/sys/dev/isa/sbdsp.c
index 8841c087f46..976d8e230ec 100644
--- a/sys/dev/isa/sbdsp.c
+++ b/sys/dev/isa/sbdsp.c
@@ -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
diff --git a/sys/dev/marvell/gtidmac.c b/sys/dev/marvell/gtidmac.c
index 080e056563a..4fec414a862 100644
--- a/sys/dev/marvell/gtidmac.c
+++ b/sys/dev/marvell/gtidmac.c
@@ -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 *,
diff --git a/sys/dev/microcode/aic7xxx/aicasm.c b/sys/dev/microcode/aic7xxx/aicasm.c
index 8f641ba9d66..4b533993ee2 100644
--- a/sys/dev/microcode/aic7xxx/aicasm.c
+++ b/sys/dev/microcode/aic7xxx/aicasm.c
@@ -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 start_instr,
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);
diff --git a/sys/dev/pci/if_ena.c b/sys/dev/pci/if_ena.c
index 6de633958a0..04300bc3082 100644
--- a/sys/dev/pci/if_ena.c
+++ b/sys/dev/pci/if_ena.c
@@ -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_vendor_info_array[] = {
};
/*
- * 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;
diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c
index a3f88cb7f12..ea967939f32 100644
--- a/sys/dev/pci/if_vge.c
+++ b/sys/dev/pci/if_vge.c
@@ -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);
diff --git a/sys/dev/pci/if_vgereg.h b/sys/dev/pci/if_vgereg.h
index f80d8eb85df..0f0452a7ec7 100644
--- a/sys/dev/pci/if_vgereg.h
+++ b/sys/dev/pci/if_vgereg.h
@@ -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
diff --git a/sys/dev/pci/ixgbe/ixgbe_common.c b/sys/dev/pci/ixgbe/ixgbe_common.c
index c820853847b..b04692093da 100644
--- a/sys/dev/pci/ixgbe/ixgbe_common.c
+++ b/sys/dev/pci/ixgbe/ixgbe_common.c
@@ -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_hw *hw, u32 cmd, u32 *status)
* 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.
*
diff --git a/sys/dev/spi/mcp23s17.c b/sys/dev/spi/mcp23s17.c
index 12069fe396e..5d91efd9c4b 100644
--- a/sys/dev/spi/mcp23s17.c
+++ b/sys/dev/spi/mcp23s17.c
@@ -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 pin, int flags)
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;
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index c21c19d3fc2..672b8758014 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -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 *data, int flag, struct lwp *l)
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);
diff --git a/sys/fs/msdosfs/msdosfs_lookup.c b/sys/fs/msdosfs/msdosfs_lookup.c
index f92969373e4..d4587f2622f 100644
--- a/sys/fs/msdosfs/msdosfs_lookup.c
+++ b/sys/fs/msdosfs/msdosfs_lookup.c
@@ -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 denode *dep)
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.
diff --git a/sys/fs/nilfs/nilfs_vnops.c b/sys/fs/nilfs/nilfs_vnops.c
index 1342584a377..0a2f14d3486 100644
--- a/sys/fs/nilfs/nilfs_vnops.c
+++ b/sys/fs/nilfs/nilfs_vnops.c
@@ -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;
}
diff --git a/sys/fs/puffs/puffs_vnops.c b/sys/fs/puffs/puffs_vnops.c
index 9b07861f001..d1b6dfe9d43 100644
--- a/sys/fs/puffs/puffs_vnops.c
+++ b/sys/fs/puffs/puffs_vnops.c
@@ -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
diff --git a/sys/fs/udf/udf_allocation.c b/sys/fs/udf/udf_allocation.c
index d4602c0c8cb..9a5650d183a 100644
--- a/sys/fs/udf/udf_allocation.c
+++ b/sys/fs/udf/udf_allocation.c
@@ -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 *ump, struct buf *buf,
if (error) {
/*
* ARGH! we haven't done our accounting right! it should
- * allways succeed.
+ * always succeed.
*/
panic("UDF disc allocation accounting gone wrong");
}
diff --git a/sys/fs/udf/udf_subr.c b/sys/fs/udf/udf_subr.c
index 0bf206081e1..3f75b7c56e7 100644
--- a/sys/fs/udf/udf_subr.c
+++ b/sys/fs/udf/udf_subr.c
@@ -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 *ump, struct fileid_desc *fid,
* 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
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c
index 866aed9c7be..57a40fa0c26 100644
--- a/sys/fs/udf/udf_vfsops.c
+++ b/sys/fs/udf/udf_vfsops.c
@@ -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 mount *mp,
/* 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;
diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c
index fc0dd1f9097..29912621240 100644
--- a/sys/fs/udf/udf_vnops.c
+++ b/sys/fs/udf/udf_vnops.c
@@ -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);
}
diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c
index 2288709511d..71bc0d82ac4 100644
--- a/sys/net80211/ieee80211_ioctl.c
+++ b/sys/net80211/ieee80211_ioctl.c
@@ -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 ieee80211com *ic, u_long cmd,
* 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.
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index d0514a16493..57e627d636a 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -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 ieee80211com *ic, struct ieee80211_node *ni,
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) {
diff --git a/sys/net80211/ieee80211_proto.c b/sys/net80211/ieee80211_proto.c
index 567f5dddea5..9e3a1978b35 100644
--- a/sys/net80211/ieee80211_proto.c
+++ b/sys/net80211/ieee80211_proto.c
@@ -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 ieee80211com *ic)
/* 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 ieee80211com *ic)
}
/*
- * 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 &&
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h
index fc8c2299766..a97d4fbc51c 100644
--- a/sys/net80211/ieee80211_proto.h
+++ b/sys/net80211/ieee80211_proto.h
@@ -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 */
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 948a0dcdb42..8ee92bed8e3 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -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_inpcb *inp,
#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_tcb *stcb, struct timeval *now)
#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_tcb *stcb, struct timeval *now)
}
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.
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index 1e8b475712b..86f7072124d 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -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_inpcb *inp, struct sctp_tcb *stcb,
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_inpcb *inp, struct sctp_tcb *stcb,
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;
diff --git a/sys/sys/disk.h b/sys/sys/disk.h
index e41b31a7fd1..5b45a77cd24 100644
--- a/sys/sys/disk.h
+++ b/sys/sys/disk.h
@@ -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>
diff --git a/usr.bin/config/TODO b/usr.bin/config/TODO
index 8be43b1e28a..3e30edd5908 100644
--- a/usr.bin/config/TODO
+++ b/usr.bin/config/TODO
@@ -74,7 +74,7 @@ o Retire "attach foo at bar with foo_bar.c"
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 flags (defflag).
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 Makefile.${MACHINE}.
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
diff --git a/usr.sbin/altq/altqstat/altqstat.c b/usr.sbin/altq/altqstat/altqstat.c
index 8f5851f7964..3fcbdeab6b6 100644
--- a/usr.sbin/altq/altqstat/altqstat.c
+++ b/usr.sbin/altq/altqstat/altqstat.c
@@ -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++];
diff --git a/usr.sbin/lpr/lpd/recvjob.c b/usr.sbin/lpr/lpd/recvjob.c
index a3dcf0cb2e7..5536933677c 100644
--- a/usr.sbin/lpr/lpd/recvjob.c
+++ b/usr.sbin/lpr/lpd/recvjob.c
@@ -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, 1993\
#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)
diff --git a/usr.sbin/sysinst/arch/mac68k/menus.md.de b/usr.sbin/sysinst/arch/mac68k/menus.md.de
index 573baca6472..7f1dd2305b9 100644
--- a/usr.sbin/sysinst/arch/mac68k/menus.md.de
+++ b/usr.sbin/sysinst/arch/mac68k/menus.md.de
@@ -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++) {
diff --git a/usr.sbin/sysinst/arch/mac68k/menus.md.en b/usr.sbin/sysinst/arch/mac68k/menus.md.en
index dd684589d26..93ccc72cb16 100644
--- a/usr.sbin/sysinst/arch/mac68k/menus.md.en
+++ b/usr.sbin/sysinst/arch/mac68k/menus.md.en
@@ -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++) {
diff --git a/usr.sbin/sysinst/arch/mac68k/menus.md.es b/usr.sbin/sysinst/arch/mac68k/menus.md.es
index 4d0f4b08c68..b3c216abf5d 100644
--- a/usr.sbin/sysinst/arch/mac68k/menus.md.es
+++ b/usr.sbin/sysinst/arch/mac68k/menus.md.es
@@ -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 particion?";
* 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++) {
diff --git a/usr.sbin/sysinst/arch/mac68k/menus.md.pl b/usr.sbin/sysinst/arch/mac68k/menus.md.pl
index e7f6781ae00..fa5e8bad325 100644
--- a/usr.sbin/sysinst/arch/mac68k/menus.md.pl
+++ b/usr.sbin/sysinst/arch/mac68k/menus.md.pl
@@ -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++) {
diff --git a/usr.sbin/ypserv/yppush/yppush.c b/usr.sbin/ypserv/yppush/yppush.c
index cf0f18a0295..378ba01a718 100644
--- a/usr.sbin/ypserv/yppush/yppush.c
+++ b/usr.sbin/ypserv/yppush/yppush.c
@@ -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