diff options
| author | andvar <andvar@NetBSD.org> | 2022-05-22 11:27:33 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2022-05-22 11:27:33 +0000 |
| commit | 2d52435ade4bc6f13b084477e53a16fb783290d0 (patch) | |
| tree | 687dacfe55a8f5b240056e67c9436e290f820645 /sys | |
| parent | dd25b8ea7dd4819f30919b4488b399444396e9eb (diff) | |
fix various small typos, mainly in comments.
Diffstat (limited to 'sys')
34 files changed, 96 insertions, 96 deletions
diff --git a/sys/arch/alpha/alpha/cpu.c b/sys/arch/alpha/alpha/cpu.c index 3bbf14f0dcf..78c73e8ce8a 100644 --- a/sys/arch/alpha/alpha/cpu.c +++ b/sys/arch/alpha/alpha/cpu.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.106 2022/04/09 23:39:18 riastradh Exp $ */ +/* $NetBSD: cpu.c,v 1.107 2022/05/22 11:27:33 andvar Exp $ */ /*- * Copyright (c) 1998, 1999, 2000, 2001, 2020 The NetBSD Foundation, Inc. @@ -59,7 +59,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.106 2022/04/09 23:39:18 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.107 2022/05/22 11:27:33 andvar Exp $"); #include "opt_ddb.h" #include "opt_multiprocessor.h" @@ -850,7 +850,7 @@ cpu_hatch(struct cpu_info *ci) /* * Invalidate the TLB and sync the I-stream before we * jump into the kernel proper. We have to do this - * beacause we haven't been getting IPIs while we've + * because we haven't been getting IPIs while we've * been spinning. */ ALPHA_TBIA(); diff --git a/sys/arch/alpha/alpha/fp_complete.c b/sys/arch/alpha/alpha/fp_complete.c index e730d440de1..f84f34a6f08 100644 --- a/sys/arch/alpha/alpha/fp_complete.c +++ b/sys/arch/alpha/alpha/fp_complete.c @@ -1,4 +1,4 @@ -/* $NetBSD: fp_complete.c,v 1.29 2021/12/08 20:21:09 andvar Exp $ */ +/* $NetBSD: fp_complete.c,v 1.30 2022/05/22 11:27:33 andvar Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -37,7 +37,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.29 2021/12/08 20:21:09 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.30 2022/05/22 11:27:33 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -703,7 +703,7 @@ alpha_fp_complete(u_long a0, u_long a1, struct lwp *l, uint64_t *ucode) /* * Start out with the code mirroring the exception flags - * (FP_X_*). Shift right 1 bit to discard SWC to achive + * (FP_X_*). Shift right 1 bit to discard SWC to achieve * this. */ *ucode = a0 >> 1; diff --git a/sys/arch/alpha/pci/cia.c b/sys/arch/alpha/pci/cia.c index 7ff5dfa6a9f..31e4d03b05d 100644 --- a/sys/arch/alpha/pci/cia.c +++ b/sys/arch/alpha/pci/cia.c @@ -1,4 +1,4 @@ -/* $NetBSD: cia.c,v 1.79 2021/08/07 16:18:41 thorpej Exp $ */ +/* $NetBSD: cia.c,v 1.80 2022/05/22 11:27:33 andvar Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -61,7 +61,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.79 2021/08/07 16:18:41 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.80 2022/05/22 11:27:33 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -179,7 +179,7 @@ cia_init(struct cia_config *ccp, int mallocsafe) /* * Use BWX iff: * - * - It hasn't been disbled by the user, + * - It hasn't been disabled by the user, * - it's enabled in CNFG, * - we're implementation version ev5, * - BWX is enabled in the CPU's capabilities mask diff --git a/sys/arch/amd64/include/reg.h b/sys/arch/amd64/include/reg.h index b7ca1dfe900..85be51cf15f 100644 --- a/sys/arch/amd64/include/reg.h +++ b/sys/arch/amd64/include/reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: reg.h,v 1.10 2017/02/23 03:34:22 kamil Exp $ */ +/* $NetBSD: reg.h,v 1.11 2022/05/22 11:27:33 andvar Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -46,7 +46,7 @@ * Registers accessible to ptrace(2) syscall for debugger use. * Same as mcontext.__gregs (except that is 'unsigned long'). * NB this structure is no longer the same as 'struct trapframe', - * athough the array indexes are defined in the same place. + * although the array indexes are defined in the same place. */ struct reg { long regs[_NGREG]; diff --git a/sys/arch/arm/xscale/ixp425_if_npe.c b/sys/arch/arm/xscale/ixp425_if_npe.c index cd80bc89065..51e14f4a6dc 100644 --- a/sys/arch/arm/xscale/ixp425_if_npe.c +++ b/sys/arch/arm/xscale/ixp425_if_npe.c @@ -1,4 +1,4 @@ -/* $NetBSD: ixp425_if_npe.c,v 1.50 2021/12/31 14:25:22 riastradh Exp $ */ +/* $NetBSD: ixp425_if_npe.c,v 1.51 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 2006 Sam Leffler. All rights reserved. @@ -28,7 +28,7 @@ #if 0 __FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/if_npe.c,v 1.1 2006/11/19 23:55:23 sam Exp $"); #endif -__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.50 2021/12/31 14:25:22 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.51 2022/05/22 11:27:34 andvar Exp $"); /* * Intel XScale NPE Ethernet driver. @@ -1445,7 +1445,7 @@ npeioctl(struct ifnet *ifp, u_long cmd, void *data) & (IFF_PROMISC | IFF_ALLMULTI); if ((diff & (IFF_PROMISC | IFF_ALLMULTI)) != 0) { /* - * If the difference bettween last flag and + * If the difference between last flag and * new flag only IFF_PROMISC or IFF_ALLMULTI, * set multicast filter only (don't reset to * prevent link down). diff --git a/sys/arch/bebox/stand/boot/siop.c b/sys/arch/bebox/stand/boot/siop.c index b607dfd7abb..a7f75f73502 100644 --- a/sys/arch/bebox/stand/boot/siop.c +++ b/sys/arch/bebox/stand/boot/siop.c @@ -1,4 +1,4 @@ -/* $NetBSD: siop.c,v 1.8 2022/01/01 13:47:19 andvar Exp $ */ +/* $NetBSD: siop.c,v 1.9 2022/05/22 11:27:34 andvar Exp $ */ /* * Copyright (c) 2010 KIYOHARA Takashi * All rights reserved. @@ -188,7 +188,7 @@ siop_sdp(struct siop_adapter *adp, struct siop_xfer *xfer, struct scsi_xfer *xs, */ /* - * before doing that we decrease resid from the ammount of data which + * before doing that we decrease resid from the amount of data which * has been transferred. */ siop_update_resid(adp, xfer, xs, offset); diff --git a/sys/arch/powerpc/booke/copyout.c b/sys/arch/powerpc/booke/copyout.c index a974e9b4c38..67204efded2 100644 --- a/sys/arch/powerpc/booke/copyout.c +++ b/sys/arch/powerpc/booke/copyout.c @@ -1,4 +1,4 @@ -/* $NetBSD: copyout.c,v 1.9 2020/07/06 09:34:16 rin Exp $ */ +/* $NetBSD: copyout.c,v 1.10 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #define __UFETCHSTORE_PRIVATE #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: copyout.c,v 1.9 2020/07/06 09:34:16 rin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: copyout.c,v 1.10 2022/05/22 11:27:34 andvar Exp $"); #include <sys/param.h> #include <sys/lwp.h> @@ -443,7 +443,7 @@ out: return rv; } #else -/* XXX This version of copyoutstr(9) has never beeen enabled so far. */ +/* XXX This version of copyoutstr(9) has never been enabled so far. */ int copyoutstr(const void *ksaddr, void *udaddr, size_t len, size_t *lenp) { diff --git a/sys/arch/prep/prep/autoconf.c b/sys/arch/prep/prep/autoconf.c index b079f6e8a74..6fafdf2c15e 100644 --- a/sys/arch/prep/prep/autoconf.c +++ b/sys/arch/prep/prep/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.28 2014/10/18 08:33:26 snj Exp $ */ +/* $NetBSD: autoconf.c,v 1.29 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.28 2014/10/18 08:33:26 snj Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.29 2022/05/22 11:27:34 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -296,7 +296,7 @@ build_fwpath(void) for (dev = deviter_first(&di, DEVITER_F_ROOT_FIRST); dev != NULL; dev = deviter_next(&di)) { - /* skip the ones we allready computed above */ + /* skip the ones we already computed above */ if (device_is_a(dev, "pci") || device_is_a(dev, "pcib") || device_is_a(dev, "pceb") || device_is_a(dev, "isa") || device_is_a(dev, "ppb")) diff --git a/sys/arch/sparc/include/autoconf.h b/sys/arch/sparc/include/autoconf.h index 24b0c99eefd..05f894a56ce 100644 --- a/sys/arch/sparc/include/autoconf.h +++ b/sys/arch/sparc/include/autoconf.h @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.h,v 1.50 2021/01/24 07:36:54 mrg Exp $ */ +/* $NetBSD: autoconf.h,v 1.51 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -103,7 +103,7 @@ struct rom_intr { uint32_t int_vec; /* vector (always 0?) */ }; -/* Address translation accross busses */ +/* Address translation across busses */ struct rom_range { /* Only used on v3 PROMs */ uint32_t cspace; /* Client space */ uint32_t coffset; /* Client offset */ diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index fe1072c6dc4..6d6e7e9e891 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -1,4 +1,4 @@ -/* $NetBSD: locore.s,v 1.428 2022/05/16 21:28:05 mrg Exp $ */ +/* $NetBSD: locore.s,v 1.429 2022/05/22 11:27:34 andvar Exp $ */ /* * Copyright (c) 2006-2010 Matthew R. Green @@ -4438,7 +4438,7 @@ sun4v_dev_mondo: add %g2, 64, %g2 ! each element is 64 bytes and %g2, 0x7ff, %g2 ! assume 32 elements mov 0x3d0, %g1 ! Dev Mondo Queue Head - stxa %g2, [%g1] ASI_QUEUE ! ajust head index value + stxa %g2, [%g1] ASI_QUEUE ! adjust head index value membar #Sync cmp %g5, MAXINTNUM ! Handle both sun4v legacy (sysino) and cookies. diff --git a/sys/arch/x86/x86/via_padlock.c b/sys/arch/x86/x86/via_padlock.c index b49b4084ff4..579bedae266 100644 --- a/sys/arch/x86/x86/via_padlock.c +++ b/sys/arch/x86/x86/via_padlock.c @@ -1,5 +1,5 @@ /* $OpenBSD: via.c,v 1.8 2006/11/17 07:47:56 tom Exp $ */ -/* $NetBSD: via_padlock.c,v 1.31 2020/06/29 23:58:44 riastradh Exp $ */ +/* $NetBSD: via_padlock.c,v 1.32 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 2003 Jason Wright @@ -20,7 +20,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: via_padlock.c,v 1.31 2020/06/29 23:58:44 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: via_padlock.c,v 1.32 2022/05/22 11:27:34 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -99,10 +99,10 @@ via_c3_ace_init(struct via_padlock_softc *sc) * * * XXX We should actually implement the HMAC modes this hardware - * XXX can accellerate (wrap its plain SHA1/SHA2 as HMAC) and + * XXX can accelerate (wrap its plain SHA1/SHA2 as HMAC) and * XXX strongly consider removing those passed through to cryptosoft. * XXX As it stands, we can "steal" sessions from drivers which could - * XXX better accellerate them. + * XXX better accelerate them. * * XXX Note the ordering dependency between when this (or any * XXX crypto driver) attaches and when cryptosoft does. We are diff --git a/sys/compat/linux/common/linux_errno.h b/sys/compat/linux/common/linux_errno.h index c846286c63c..1d0b2277cc3 100644 --- a/sys/compat/linux/common/linux_errno.h +++ b/sys/compat/linux/common/linux_errno.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_errno.h,v 1.16 2021/09/23 06:56:27 ryo Exp $ */ +/* $NetBSD: linux_errno.h,v 1.17 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -69,7 +69,7 @@ /* Error numbers after here vary wildly */ -/* depending on the machine architechture. */ +/* depending on the machine architecture. */ #if defined(__i386__) #include <compat/linux/arch/i386/linux_errno.h> #elif defined(__mips__) diff --git a/sys/compat/linux/common/linux_misc_notalpha.c b/sys/compat/linux/common/linux_misc_notalpha.c index 263cdc5ca38..f06b90404ca 100644 --- a/sys/compat/linux/common/linux_misc_notalpha.c +++ b/sys/compat/linux/common/linux_misc_notalpha.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc_notalpha.c,v 1.114 2021/11/25 03:08:04 ryo Exp $ */ +/* $NetBSD: linux_misc_notalpha.c,v 1.115 2022/05/22 11:27:34 andvar Exp $ */ /*- * Copyright (c) 1995, 1998, 2008, 2020 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.114 2021/11/25 03:08:04 ryo Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.115 2022/05/22 11:27:34 andvar Exp $"); /* * Note that we must NOT include "opt_compat_linux32.h" here, @@ -72,7 +72,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.114 2021/11/25 03:08:04 ry /* * This file contains routines which are used - * on every linux architechture except the Alpha. + * on every linux architecture except the Alpha. */ /* Used on: arm, aarch64, i386, m68k, mips, ppc, sparc, sparc64 */ diff --git a/sys/dev/acpi/acpi_tz.c b/sys/dev/acpi/acpi_tz.c index 91aea290dbb..4906dcd97d4 100644 --- a/sys/dev/acpi/acpi_tz.c +++ b/sys/dev/acpi/acpi_tz.c @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_tz.c,v 1.90 2019/04/21 21:52:09 mrg Exp $ */ +/* $NetBSD: acpi_tz.c,v 1.91 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2003 Jared D. McNeill <jmcneill@invisible.ca> @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.90 2019/04/21 21:52:09 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.91 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -616,7 +616,7 @@ acpitz_notify_handler(ACPI_HANDLE hdl, uint32_t notify, void *opaque) static void acpitz_sane_temp(uint32_t *tmp) { - /* Sane temperatures are beteen 0 and 150 C. */ + /* Sane temperatures are between 0 and 150 C. */ if (*tmp < ATZ_ZEROC || *tmp > ATZ_ZEROC + 1500) *tmp = ATZ_TMP_INVALID; } diff --git a/sys/dev/i2c/sgp40.c b/sys/dev/i2c/sgp40.c index eb5b002d1ee..335ba85aefe 100644 --- a/sys/dev/i2c/sgp40.c +++ b/sys/dev/i2c/sgp40.c @@ -1,4 +1,4 @@ -/* $NetBSD: sgp40.c,v 1.3 2022/03/30 00:06:50 pgoyette Exp $ */ +/* $NetBSD: sgp40.c,v 1.4 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2021 Brad Spencer <brad@anduin.eldar.org> @@ -17,7 +17,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sgp40.c,v 1.3 2022/03/30 00:06:50 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sgp40.c,v 1.4 2022/05/22 11:27:35 andvar Exp $"); /* Driver for the Sensirion SGP40 MOx gas sensor for air quality @@ -229,7 +229,7 @@ sgp40_take_measurement(void *aux, VocAlgorithmParams* params) args[5] = sgp40_crc(&args[3], 2); /* - * The VOC algoritm has a black out time when it first starts to run + * The VOC algorithm has a black out time when it first starts to run * and does not return any indicator that is going on, so voc_index * in that case would be 0.. however, that is also a valid response * otherwise, although an unlikely one. diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c index e24486f3e52..91eddab0cc9 100644 --- a/sys/dev/ic/aic79xx.c +++ b/sys/dev/ic/aic79xx.c @@ -1,4 +1,4 @@ -/* $NetBSD: aic79xx.c,v 1.66 2022/04/16 17:34:34 andvar Exp $ */ +/* $NetBSD: aic79xx.c,v 1.67 2022/05/22 11:27:35 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.66 2022/04/16 17:34:34 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.67 2022/05/22 11:27:35 andvar Exp $"); #include <dev/ic/aic79xx_osm.h> #include <dev/ic/aic79xx_inline.h> @@ -5276,7 +5276,7 @@ ahd_reset(struct ahd_softc *ahd, int reinit) * does not disable its parity logic prior to * the start of the reset. This may cause a * parity error to be detected and thus a - * spurious SERR or PERR assertion. Disble + * spurious SERR or PERR assertion. Disable * PERR and SERR responses during the CHIPRST. */ mod_cmd = cmd & @@ -6019,7 +6019,7 @@ ahd_init(struct ahd_softc *ahd) M_DEVBUF, M_WAITOK | M_ZERO); /* - * Verify that the compiler hasn't over-agressively + * Verify that the compiler hasn't over-aggressively * padded important structures. */ if (sizeof(struct hardware_scb) != 64) diff --git a/sys/dev/ic/lancereg.h b/sys/dev/ic/lancereg.h index 60fcc0dbf19..3b9d7bd86ac 100644 --- a/sys/dev/ic/lancereg.h +++ b/sys/dev/ic/lancereg.h @@ -1,4 +1,4 @@ -/* $NetBSD: lancereg.h,v 1.14 2020/04/08 04:32:14 msaitoh Exp $ */ +/* $NetBSD: lancereg.h,v 1.15 2022/05/22 11:27:35 andvar Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -565,7 +565,7 @@ #define LE_MODE_PROM 0x8000 /* promiscuous mode */ /* 0x7f80 reserved, must be zero */ /* 0x4000 - 0x0080 are not available on LANCE 7990 */ -#define LE_MODE_DRCVBC 0x4000 /* disable receive brodcast */ +#define LE_MODE_DRCVBC 0x4000 /* disable receive broadcast */ #define LE_MODE_DRCVPA 0x2000 /* disable physical address detection */ #define LE_MODE_DLNKTST 0x1000 /* disable link status */ #define LE_MODE_DAPC 0x0800 /* disable automatic polarity correction */ diff --git a/sys/dev/ic/siop_common.c b/sys/dev/ic/siop_common.c index 55ae0c67bcb..6a293e2b466 100644 --- a/sys/dev/ic/siop_common.c +++ b/sys/dev/ic/siop_common.c @@ -1,4 +1,4 @@ -/* $NetBSD: siop_common.c,v 1.55 2019/12/27 09:41:50 msaitoh Exp $ */ +/* $NetBSD: siop_common.c,v 1.56 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2000, 2002 Manuel Bouyer. @@ -28,7 +28,7 @@ /* SYM53c7/8xx PCI-SCSI I/O Processors driver */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.55 2019/12/27 09:41:50 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.56 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -820,7 +820,7 @@ siop_sdp(struct siop_common_cmd *siop_cmd, int offset) */ /* - * before doing that we decrease resid from the ammount of data which + * before doing that we decrease resid from the amount of data which * has been transferred. */ siop_update_resid(siop_cmd, offset); diff --git a/sys/dev/ieee1394/firewire.c b/sys/dev/ieee1394/firewire.c index 922fb8ea0f9..88d78b2b428 100644 --- a/sys/dev/ieee1394/firewire.c +++ b/sys/dev/ieee1394/firewire.c @@ -1,4 +1,4 @@ -/* $NetBSD: firewire.c,v 1.54 2021/12/20 19:56:42 riastradh Exp $ */ +/* $NetBSD: firewire.c,v 1.55 2022/05/22 11:27:35 andvar Exp $ */ /*- * Copyright (c) 2003 Hidetoshi Shimokawa * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: firewire.c,v 1.54 2021/12/20 19:56:42 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: firewire.c,v 1.55 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -1787,7 +1787,7 @@ fw_explore_node(struct fw_device *dfwdev) * speed map value. * 1394a-2000 compliant devices only use * the Bus Info Block link spd value, so - * ignore the speed map alltogether. SWB + * ignore the speed map altogether. SWB */ if (binfo->link_spd == FWSPD_S100 /* 0 */) { aprint_normal_dev(fc->bdev, diff --git a/sys/dev/midi.c b/sys/dev/midi.c index 05b7d78a23b..bf2e5cd67f9 100644 --- a/sys/dev/midi.c +++ b/sys/dev/midi.c @@ -1,4 +1,4 @@ -/* $NetBSD: midi.c,v 1.96 2022/03/31 19:30:15 pgoyette Exp $ */ +/* $NetBSD: midi.c,v 1.97 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.96 2022/03/31 19:30:15 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.97 2022/05/22 11:27:35 andvar Exp $"); #ifdef _KERNEL_OPT #include "midi.h" @@ -420,7 +420,7 @@ static struct { * meaningless) outside of a System Exclusive message, anywhere a status byte * could appear. Second, it is allowed to be absent at the end of a System * Exclusive message (!) - any status byte at all (non-realtime) is allowed to - * terminate the message. Both require accomodation in the interface to + * terminate the message. Both require accommodation in the interface to * midi_fst's caller. A stray 0xf7 should be ignored BUT should count as a * message received for purposes of Active Sense timeout; the case is * represented by a return of FST_COM with a length of zero (pos == end). A diff --git a/sys/dev/pci/agp.c b/sys/dev/pci/agp.c index 385591f20ce..8714bed22f0 100644 --- a/sys/dev/pci/agp.c +++ b/sys/dev/pci/agp.c @@ -1,4 +1,4 @@ -/* $NetBSD: agp.c,v 1.87 2019/11/10 21:16:36 chs Exp $ */ +/* $NetBSD: agp.c,v 1.88 2022/05/22 11:27:35 andvar Exp $ */ /*- * Copyright (c) 2000 Doug Rabson @@ -65,7 +65,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.87 2019/11/10 21:16:36 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.88 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -698,7 +698,7 @@ agp_generic_bind_memory_bounded(struct agp_softc *sc, struct agp_memory *mem, /* * XXXfvdl - * The memory here needs to be directly accessable from the + * The memory here needs to be directly accessible from the * AGP video card, so it should be allocated using bus_dma. * However, it need not be contiguous, since individual pages * are translated using the GATT. diff --git a/sys/dev/pci/bktr/bktr_core.h b/sys/dev/pci/bktr/bktr_core.h index fe87c85c7f2..875c7d7298b 100644 --- a/sys/dev/pci/bktr/bktr_core.h +++ b/sys/dev/pci/bktr/bktr_core.h @@ -1,6 +1,6 @@ /* $SourceForge: bktr_core.h,v 1.3 2003/03/11 23:11:23 thomasklausner Exp $ */ -/* $NetBSD: bktr_core.h,v 1.11 2021/12/19 22:03:41 andvar Exp $ */ +/* $NetBSD: bktr_core.h,v 1.12 2022/05/22 11:27:35 andvar Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_core.h,v 1.4 2000/06/26 09:41:32 roger Exp$ */ /* @@ -74,7 +74,7 @@ void msp_dpl_write(bktr_ptr_t bktr, int i2c_addr, unsigned char dev, /* device name for printf */ const char *bktr_name(bktr_ptr_t bktr); -/* Prototypes for attatch and interrupt functions */ +/* Prototypes for attach and interrupt functions */ int common_bktr_attach(bktr_ptr_t bktr, int unit, u_int pci_id, u_int rev); int common_bktr_intr(void *arg); diff --git a/sys/dev/pcmcia/if_ray.c b/sys/dev/pcmcia/if_ray.c index 076ce436a33..6f219cfba26 100644 --- a/sys/dev/pcmcia/if_ray.c +++ b/sys/dev/pcmcia/if_ray.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ray.c,v 1.98 2020/02/04 05:46:32 thorpej Exp $ */ +/* $NetBSD: if_ray.c,v 1.99 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2000 Christian E. Hopps @@ -57,7 +57,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.98 2020/02/04 05:46:32 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.99 2022/05/22 11:27:35 andvar Exp $"); #include "opt_inet.h" @@ -111,7 +111,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.98 2020/02/04 05:46:32 thorpej Exp $"); #define RAY_CHECK_CCS_TIMEOUT (hz / 2) #endif -/* ammount of time to consider start/join failed */ +/* amount of time to consider start/join failed */ #ifndef RAY_START_TIMEOUT #define RAY_START_TIMEOUT (30 * hz) #endif diff --git a/sys/dev/pcmcia/if_rayreg.h b/sys/dev/pcmcia/if_rayreg.h index 849d36d205d..f68727845fa 100644 --- a/sys/dev/pcmcia/if_rayreg.h +++ b/sys/dev/pcmcia/if_rayreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_rayreg.h,v 1.11 2015/09/06 06:01:00 dholland Exp $ */ +/* $NetBSD: if_rayreg.h,v 1.12 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2000 Christian E. Hopps * All rights reserved. @@ -201,7 +201,7 @@ struct ray_startup_params_head { /*2c*/ u_int8_t sp_dwell_time[2]; /*2e*/ u_int8_t sp_beacon_period[2]; /*30*/ u_int8_t sp_dtim_interval; -/*31*/ u_int8_t sp_max_retry; /* number of times to attemp tx */ +/*31*/ u_int8_t sp_max_retry; /* number of times to attempt tx */ /*32*/ u_int8_t sp_ack_timo; /*33*/ u_int8_t sp_sifs; /*34*/ u_int8_t sp_difs; diff --git a/sys/dev/qbus/uda.c b/sys/dev/qbus/uda.c index 2aa07e8b385..8cab6d86ec1 100644 --- a/sys/dev/qbus/uda.c +++ b/sys/dev/qbus/uda.c @@ -1,4 +1,4 @@ -/* $NetBSD: uda.c,v 1.63 2021/08/07 16:19:15 thorpej Exp $ */ +/* $NetBSD: uda.c,v 1.64 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uda.c,v 1.63 2021/08/07 16:19:15 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uda.c,v 1.64 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -233,7 +233,7 @@ udaattach(device_t parent, device_t self, void *aux) /* * The only thing that differ UDA's and Tape ctlr's is - * their vcid. Beacuse there are no way to determine which + * their vcid. Because there are no way to determine which * ctlr type it is, we check what is generated and later * set the correct vcid. */ diff --git a/sys/fs/udf/udf_allocation.c b/sys/fs/udf/udf_allocation.c index a2c0f63e62f..0636ec4c6de 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.46 2022/02/03 09:46:26 reinoud Exp $ */ +/* $NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 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.46 2022/02/03 09:46:26 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 andvar Exp $"); #endif /* not lint */ @@ -1657,7 +1657,7 @@ udf_late_allocate_buf(struct udf_mount *ump, struct buf *buf, vpart_num = *vpart_nump = udf_get_record_vpart(ump, udf_c_type); if (udf_c_type == UDF_C_NODE) { - /* if not VAT, its allready allocated */ + /* if not VAT, its already allocated */ if (ump->vtop_alloc[ump->node_part] != UDF_ALLOC_VAT) return; diff --git a/sys/fs/v7fs/v7fs.h b/sys/fs/v7fs/v7fs.h index c35bacecc8e..dc4eab08372 100644 --- a/sys/fs/v7fs/v7fs.h +++ b/sys/fs/v7fs/v7fs.h @@ -1,4 +1,4 @@ -/* $NetBSD: v7fs.h,v 1.2 2011/07/16 12:35:40 uch Exp $ */ +/* $NetBSD: v7fs.h,v 1.3 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -169,10 +169,10 @@ struct v7fs_inode_diskimage { /* Obsoleted file type. */ #define V7FS_IFMPC 0030000 /* multiplexed char special */ #define V7FS_IFMPB 0070000 /* multiplexed block special */ -/* Don't apear original V7 filesystem. Found at 2.10BSD. */ +/* Don't appear original V7 filesystem. Found at 2.10BSD. */ #define V7FSBSD_IFLNK 0120000 /* symbolic link */ #define V7FSBSD_IFSOCK 0140000 /* socket */ -/* Don't apear original V7 filesystem. NetBSD. */ +/* Don't appear original V7 filesystem. NetBSD. */ #define V7FSBSD_IFFIFO 0010000 /* Named pipe. */ #define V7FSBSD_MAXSYMLINKLEN V7FS_BSIZE diff --git a/sys/fs/v7fs/v7fs_vnops.c b/sys/fs/v7fs/v7fs_vnops.c index 4ca6f44c2a9..6814c9b3d0c 100644 --- a/sys/fs/v7fs/v7fs_vnops.c +++ b/sys/fs/v7fs/v7fs_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: v7fs_vnops.c,v 1.36 2022/03/30 12:45:58 christos Exp $ */ +/* $NetBSD: v7fs_vnops.c,v 1.37 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2004, 2011 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: v7fs_vnops.c,v 1.36 2022/03/30 12:45:58 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: v7fs_vnops.c,v 1.37 2022/05/22 11:27:36 andvar Exp $"); #if defined _KERNEL_OPT #include "opt_v7fs.h" #endif @@ -430,7 +430,7 @@ v7fs_getattr(void *v) vap->va_fileid = inode->inode_number; vap->va_size = vp->v_size; if (vp->v_type == VLNK) { - /* Ajust for trailing NUL. */ + /* Adjust for trailing NUL. */ KASSERT(vap->va_size > 0); vap->va_size -= 1; } diff --git a/sys/kern/kern_lwp.c b/sys/kern/kern_lwp.c index 9c2e7b80fae..efc452a15af 100644 --- a/sys/kern/kern_lwp.c +++ b/sys/kern/kern_lwp.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_lwp.c,v 1.249 2022/05/07 19:44:40 mrg Exp $ */ +/* $NetBSD: kern_lwp.c,v 1.250 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2001, 2006, 2007, 2008, 2009, 2019, 2020 @@ -217,7 +217,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.249 2022/05/07 19:44:40 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.250 2022/05/22 11:27:36 andvar Exp $"); #include "opt_ddb.h" #include "opt_lockdebug.h" @@ -837,7 +837,7 @@ lwp_create(lwp_t *l1, proc_t *p2, vaddr_t uaddr, int flags, /* * Allocate a process ID for this LWP. We need to do this now - * while we can still unwind if it fails. Beacuse we're marked + * while we can still unwind if it fails. Because we're marked * as LSIDL, no lookups by the ID will succeed. * * N.B. this will always succeed for the first LWP in a process, diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 1b64b9462af..e750b8498cc 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_vnops.c,v 1.227 2022/03/25 08:57:15 hannken Exp $ */ +/* $NetBSD: vfs_vnops.c,v 1.228 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.227 2022/03/25 08:57:15 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.228 2022/05/22 11:27:36 andvar Exp $"); #include "veriexec.h" @@ -1446,7 +1446,7 @@ vn_knote_detach(struct vnode *vp, struct knote *kn) int interest = 0; /* - * We special case removing the head of the list, beacuse: + * We special case removing the head of the list, because: * * 1. It's extremely likely that we're detaching the only * knote. diff --git a/sys/net/if.c b/sys/net/if.c index de37d26161d..78130415225 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $NetBSD: if.c,v 1.504 2022/05/11 14:58:01 andvar Exp $ */ +/* $NetBSD: if.c,v 1.505 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc. @@ -90,7 +90,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.504 2022/05/11 14:58:01 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.505 2022/05/22 11:27:36 andvar Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -3824,7 +3824,7 @@ if_do_dad(struct ifnet *ifp) /* * Our DAD routine requires the interface up and running. * However, some interfaces can be up before the RUNNING - * status. Additionaly, users may try to assign addresses + * status. Additionally, users may try to assign addresses * before the interface becomes up (or running). * We simply skip DAD in such a case as a work around. * XXX: we should rather mark "tentative" on such addresses, diff --git a/sys/netinet/dccp_tcplike.c b/sys/netinet/dccp_tcplike.c index 980d752dfde..5835e11c920 100644 --- a/sys/netinet/dccp_tcplike.c +++ b/sys/netinet/dccp_tcplike.c @@ -1,5 +1,5 @@ /* $KAME: dccp_tcplike.c,v 1.19 2005/07/27 06:27:25 nishida Exp $ */ -/* $NetBSD: dccp_tcplike.c,v 1.4 2019/06/04 10:15:22 msaitoh Exp $ */ +/* $NetBSD: dccp_tcplike.c,v 1.5 2022/05/22 11:27:36 andvar Exp $ */ /* * Copyright (c) 2003 Magnus Erixzon @@ -33,7 +33,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dccp_tcplike.c,v 1.4 2019/06/04 10:15:22 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dccp_tcplike.c,v 1.5 2022/05/22 11:27:36 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_dccp.h" @@ -580,7 +580,7 @@ tcplike_send_packet_recv(void *ccb, char *options, int optlen) /* Might be an Ack we've been missing */ /* This code has a flaw; If we miss 2 Ack packets, we only care * about the older one. This means that the next-to-oldest one could - * be lost without any action beeing taken. + * be lost without any action being taken. * Time will tell if that is going to be a Giant Problem(r) */ if (cb->pcb->seq_rcv == cb->ack_miss) { diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c index 3f51ccc8255..c7fb6a2346b 100644 --- a/sys/ufs/ext2fs/ext2fs_vfsops.c +++ b/sys/ufs/ext2fs/ext2fs_vfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: ext2fs_vfsops.c,v 1.220 2022/03/19 13:53:33 hannken Exp $ */ +/* $NetBSD: ext2fs_vfsops.c,v 1.221 2022/05/22 11:27:36 andvar Exp $ */ /* * Copyright (c) 1989, 1991, 1993, 1994 @@ -60,7 +60,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ext2fs_vfsops.c,v 1.220 2022/03/19 13:53:33 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ext2fs_vfsops.c,v 1.221 2022/05/22 11:27:36 andvar Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -518,7 +518,7 @@ ext2fs_loadvnode_content(struct m_ext2fs *fs, ino_t ino, struct buf *bp, struct goto bad; } - /* everything allright, proceed with copy */ + /* everything alright, proceed with copy */ if (ip->i_din.e2fs_din == NULL) ip->i_din.e2fs_din = kmem_alloc(EXT2_DINODE_SIZE(fs), KM_SLEEP); diff --git a/sys/ufs/ffs/ffs_wapbl.c b/sys/ufs/ffs/ffs_wapbl.c index aa208d48cf0..250a43b29d8 100644 --- a/sys/ufs/ffs/ffs_wapbl.c +++ b/sys/ufs/ffs/ffs_wapbl.c @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_wapbl.c,v 1.47 2022/05/13 15:02:34 reinoud Exp $ */ +/* $NetBSD: ffs_wapbl.c,v 1.48 2022/05/22 11:27:36 andvar Exp $ */ /*- * Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.47 2022/05/13 15:02:34 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.48 2022/05/22 11:27:36 andvar Exp $"); #define WAPBL_INTERNAL @@ -144,7 +144,7 @@ ffs_wapbl_replay_finish(struct mount *mp) /* * The journal may have left partially allocated inodes in mode - * zero. This may occur if a crash occurs betweeen the node + * zero. This may occur if a crash occurs between the node * allocation in ffs_nodeallocg and when the node is properly * initialized in ufs_makeinode. If so, just deallocate them. */ |
