Module Name: src
Committed By: andvar
Date: Fri Feb 2 22:00:34 UTC 2024
Modified Files:
src/lib/libc/arch/hppa/sys: __sigtramp2.S
src/lib/libc/nameser: ns_name.c
src/sys/arch/arm/arm32: fault.c
src/sys/arch/arm/rockchip: rk3399_pcie.c
src/sys/arch/newsmips/apbus: if_snreg.h
src/sys/arch/powerpc/booke: booke_machdep.c
src/sys/arch/riscv/include: insn.h
src/sys/arch/riscv/riscv: locore.S
src/sys/arch/vax/vax: ka860.c
src/sys/dev/ic: cd18xx.c siisata.c
src/sys/dev/microcode/i8255x: rcvbundl.h
src/sys/dev/pci: amr.c
src/sys/dev/usb: usbnet.c
src/sys/netinet: sctp_constants.h
Log Message:
fix various typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/arch/hppa/sys/__sigtramp2.S
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/nameser/ns_name.c
cvs rdiff -u -r1.118 -r1.119 src/sys/arch/arm/arm32/fault.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/rockchip/rk3399_pcie.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/newsmips/apbus/if_snreg.h
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/powerpc/booke/booke_machdep.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/riscv/include/insn.h
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/riscv/riscv/locore.S
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/vax/vax/ka860.c
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ic/cd18xx.c
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/ic/siisata.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/microcode/i8255x/rcvbundl.h
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/pci/amr.c
cvs rdiff -u -r1.118 -r1.119 src/sys/dev/usb/usbnet.c
cvs rdiff -u -r1.4 -r1.5 src/sys/netinet/sctp_constants.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/hppa/sys/__sigtramp2.S
diff -u src/lib/libc/arch/hppa/sys/__sigtramp2.S:1.7 src/lib/libc/arch/hppa/sys/__sigtramp2.S:1.8
--- src/lib/libc/arch/hppa/sys/__sigtramp2.S:1.7 Sun Jun 26 14:37:13 2022
+++ src/lib/libc/arch/hppa/sys/__sigtramp2.S Fri Feb 2 22:00:32 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: __sigtramp2.S,v 1.7 2022/06/26 14:37:13 skrll Exp $ */
+/* $NetBSD: __sigtramp2.S,v 1.8 2024/02/02 22:00:32 andvar Exp $ */
/*
* Copyright (c) 1998-2001 Michael Shalayeff
@@ -61,7 +61,7 @@
/*
* The hppa signal trampoline is required to call the handler
- * possibily via a PLABEL.
+ * possibly via a PLABEL.
*
* On entry, stack looks like:
*
Index: src/lib/libc/nameser/ns_name.c
diff -u src/lib/libc/nameser/ns_name.c:1.14 src/lib/libc/nameser/ns_name.c:1.15
--- src/lib/libc/nameser/ns_name.c:1.14 Sat Jan 20 14:52:48 2024
+++ src/lib/libc/nameser/ns_name.c Fri Feb 2 22:00:32 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: ns_name.c,v 1.14 2024/01/20 14:52:48 christos Exp $ */
+/* $NetBSD: ns_name.c,v 1.15 2024/02/02 22:00:32 andvar Exp $ */
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -22,7 +22,7 @@
#ifdef notdef
static const char rcsid[] = "Id: ns_name.c,v 1.11 2009/01/23 19:59:16 each Exp";
#else
-__RCSID("$NetBSD: ns_name.c,v 1.14 2024/01/20 14:52:48 christos Exp $");
+__RCSID("$NetBSD: ns_name.c,v 1.15 2024/02/02 22:00:32 andvar Exp $");
#endif
#endif
@@ -1092,7 +1092,7 @@ encode_bitsring(const char **bp, const c
if (beg_blen == NULL) {
if (c == '0') {
- /* blen never begings with 0 */
+ /* blen never begins with 0 */
return (EINVAL);
}
beg_blen = cp;
Index: src/sys/arch/arm/arm32/fault.c
diff -u src/sys/arch/arm/arm32/fault.c:1.118 src/sys/arch/arm/arm32/fault.c:1.119
--- src/sys/arch/arm/arm32/fault.c:1.118 Fri Oct 6 09:53:02 2023
+++ src/sys/arch/arm/arm32/fault.c Fri Feb 2 22:00:32 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: fault.c,v 1.118 2023/10/06 09:53:02 martin Exp $ */
+/* $NetBSD: fault.c,v 1.119 2024/02/02 22:00:32 andvar Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
#include "opt_multiprocessor.h"
#include <sys/types.h>
-__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.118 2023/10/06 09:53:02 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.119 2024/02/02 22:00:32 andvar Exp $");
#include <sys/param.h>
@@ -384,7 +384,7 @@ data_abort_handler(trapframe_t *tf)
/*
* Force exit via userret()
* This is necessary as the FPE is an extension to
- * userland that actually runs in a priveledged mode
+ * userland that actually runs in a privileged mode
* but uses USR mode permissions for its accesses.
*/
user = true;
Index: src/sys/arch/arm/rockchip/rk3399_pcie.c
diff -u src/sys/arch/arm/rockchip/rk3399_pcie.c:1.21 src/sys/arch/arm/rockchip/rk3399_pcie.c:1.22
--- src/sys/arch/arm/rockchip/rk3399_pcie.c:1.21 Wed Dec 27 07:46:20 2023
+++ src/sys/arch/arm/rockchip/rk3399_pcie.c Fri Feb 2 22:00:32 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: rk3399_pcie.c,v 1.21 2023/12/27 07:46:20 skrll Exp $ */
+/* $NetBSD: rk3399_pcie.c,v 1.22 2024/02/02 22:00:32 andvar Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <[email protected]>
*
@@ -17,7 +17,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: rk3399_pcie.c,v 1.21 2023/12/27 07:46:20 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: rk3399_pcie.c,v 1.22 2024/02/02 22:00:32 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -513,7 +513,7 @@ rkpcie_atr_init(struct rkpcie_softc *sc)
}
}
- /* Passthrought inbound translations unmodified. */
+ /* Passthrough inbound translations unmodified. */
HWRITE4(sc, PCIE_ATR_IB_ADDR0(2), 32 - 1);
HWRITE4(sc, PCIE_ATR_IB_ADDR1(2), 0);
Index: src/sys/arch/newsmips/apbus/if_snreg.h
diff -u src/sys/arch/newsmips/apbus/if_snreg.h:1.1 src/sys/arch/newsmips/apbus/if_snreg.h:1.2
--- src/sys/arch/newsmips/apbus/if_snreg.h:1.1 Wed Dec 22 05:55:25 1999
+++ src/sys/arch/newsmips/apbus/if_snreg.h Fri Feb 2 22:00:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: if_snreg.h,v 1.1 1999/12/22 05:55:25 tsubai Exp $ */
+/* $NetBSD: if_snreg.h,v 1.2 2024/02/02 22:00:33 andvar Exp $ */
/*
* Copyright (c) 1991 Algorithmics Ltd (http://www.algor.co.uk)
@@ -191,7 +191,7 @@
#define TCR_CRSL 0x0080 /* carrier lost during transmission */
#define TCR_EXC 0x0040 /* excessive collisions (>16) detected */
#define TCR_OWC 0x0020 /* out of window (bad) collision occurred */
-#define TCR_PMB 0x0008 /* packet monitored bad - the tansmitted
+#define TCR_PMB 0x0008 /* packet monitored bad - the transmitted
* packet had a bad source address or CRC */
#define TCR_FU 0x0004 /* FIFO underrun (memory access failed) */
#define TCR_BCM 0x0002 /* byte count mismatch (TXpkt.pkt_size
Index: src/sys/arch/powerpc/booke/booke_machdep.c
diff -u src/sys/arch/powerpc/booke/booke_machdep.c:1.33 src/sys/arch/powerpc/booke/booke_machdep.c:1.34
--- src/sys/arch/powerpc/booke/booke_machdep.c:1.33 Tue Mar 30 14:29:54 2021
+++ src/sys/arch/powerpc/booke/booke_machdep.c Fri Feb 2 22:00:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: booke_machdep.c,v 1.33 2021/03/30 14:29:54 rin Exp $ */
+/* $NetBSD: booke_machdep.c,v 1.34 2024/02/02 22:00:33 andvar Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -38,7 +38,7 @@
#define _POWERPC_BUS_DMA_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: booke_machdep.c,v 1.33 2021/03/30 14:29:54 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: booke_machdep.c,v 1.34 2024/02/02 22:00:33 andvar Exp $");
#include "ksyms.h"
@@ -638,7 +638,7 @@ sort_data(uint64_t *data, size_t count)
* We want to but can't use floating point to calculate
* gap = (size_t)((double)gap / N)
*
- * So we will use the multicative inverse of N
+ * So we will use the multiplicative inverse of N
* (module 65536) to achieve the division.
*
* iN = 2^16 / 1.24733... = 52540
Index: src/sys/arch/riscv/include/insn.h
diff -u src/sys/arch/riscv/include/insn.h:1.4 src/sys/arch/riscv/include/insn.h:1.5
--- src/sys/arch/riscv/include/insn.h:1.4 Mon Apr 19 07:55:59 2021
+++ src/sys/arch/riscv/include/insn.h Fri Feb 2 22:00:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: insn.h,v 1.4 2021/04/19 07:55:59 dholland Exp $ */
+/* $NetBSD: insn.h,v 1.5 2024/02/02 22:00:33 andvar Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -316,7 +316,7 @@ union riscv_insn {
#define INSN16_IMM_CS_D(insn) INSN16_IMM_CL_D(insn)
#define INSN16_IMM_CS_Q(insn) INSN16_IMM_CL_Q(insn)
-/* CJ format immedate, sign extended */
+/* CJ format immediate, sign extended */
#define INSN16_IMM_CJ_raw(insn) \
((((insn) & 0b0001000000000000) >> (12-11)) | \
(((insn) & 0b0000100000000000) >> (11-4)) | \
Index: src/sys/arch/riscv/riscv/locore.S
diff -u src/sys/arch/riscv/riscv/locore.S:1.43 src/sys/arch/riscv/riscv/locore.S:1.44
--- src/sys/arch/riscv/riscv/locore.S:1.43 Sun Sep 3 08:48:20 2023
+++ src/sys/arch/riscv/riscv/locore.S Fri Feb 2 22:00:34 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.43 2023/09/03 08:48:20 skrll Exp $ */
+/* $NetBSD: locore.S,v 1.44 2024/02/02 22:00:34 andvar Exp $ */
/*-
* Copyright (c) 2014, 2022 The NetBSD Foundation, Inc.
@@ -122,7 +122,7 @@ ENTRY_NP(start)
* Our load address is not fixed, but our VA is. We need to construct
* an initial PDETAB.
*
- * The space for the inital page table is included in the kernel
+ * The space for the initial page table is included in the kernel
* .bss size calculation so we know the space exists.
*/
Index: src/sys/arch/vax/vax/ka860.c
diff -u src/sys/arch/vax/vax/ka860.c:1.36 src/sys/arch/vax/vax/ka860.c:1.37
--- src/sys/arch/vax/vax/ka860.c:1.36 Sat Aug 7 16:19:07 2021
+++ src/sys/arch/vax/vax/ka860.c Fri Feb 2 22:00:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: ka860.c,v 1.36 2021/08/07 16:19:07 thorpej Exp $ */
+/* $NetBSD: ka860.c,v 1.37 2024/02/02 22:00:33 andvar Exp $ */
/*
* Copyright (c) 1986, 1988 Regents of the University of California.
* All rights reserved.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ka860.c,v 1.36 2021/08/07 16:19:07 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ka860.c,v 1.37 2024/02/02 22:00:33 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -104,7 +104,7 @@ const struct cpu_dep ka860_calls = {
* and then read the ESPD register.
*
* NOTE: In assmebly code, the mfpr instruction that reads the ESPD
- * register must immedately follow the mtpr instruction that setup
+ * register must immediately follow the mtpr instruction that setup
* the ESPA register -- per the VENUS processor register spec.
*
* The scratchpad registers that are supplied for a single bit ECC
Index: src/sys/dev/ic/cd18xx.c
diff -u src/sys/dev/ic/cd18xx.c:1.31 src/sys/dev/ic/cd18xx.c:1.32
--- src/sys/dev/ic/cd18xx.c:1.31 Fri Jul 25 08:10:37 2014
+++ src/sys/dev/ic/cd18xx.c Fri Feb 2 22:00:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: cd18xx.c,v 1.31 2014/07/25 08:10:37 dholland Exp $ */
+/* $NetBSD: cd18xx.c,v 1.32 2024/02/02 22:00:33 andvar Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -92,7 +92,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd18xx.c,v 1.31 2014/07/25 08:10:37 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd18xx.c,v 1.32 2024/02/02 22:00:33 andvar Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -264,7 +264,7 @@ cd18xx_attach(struct cd18xx_softc *sc)
#endif
cd18xx_write(sc, CD18xx_GSVR, CD18xx_GSVR_SETID(sc));
- /* rx/tx/modem service match vectors, initalised by higher level */
+ /* rx/tx/modem service match vectors, initialised by higher level */
cd18xx_write(sc, CD18xx_MSMR, sc->sc_msmr | 0x80);
cd18xx_write(sc, CD18xx_TSMR, sc->sc_tsmr | 0x80);
cd18xx_write(sc, CD18xx_RSMR, sc->sc_rsmr | 0x80);
Index: src/sys/dev/ic/siisata.c
diff -u src/sys/dev/ic/siisata.c:1.50 src/sys/dev/ic/siisata.c:1.51
--- src/sys/dev/ic/siisata.c:1.50 Wed Nov 10 17:19:30 2021
+++ src/sys/dev/ic/siisata.c Fri Feb 2 22:00:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata.c,v 1.50 2021/11/10 17:19:30 msaitoh Exp $ */
+/* $NetBSD: siisata.c,v 1.51 2024/02/02 22:00:33 andvar Exp $ */
/* from ahcisata_core.c */
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.50 2021/11/10 17:19:30 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.51 2024/02/02 22:00:33 andvar Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -642,7 +642,7 @@ siisata_channel_recover(struct ata_chann
/*
* If BSY or DRQ bits are set, must execute COMRESET to return
* device to idle state. Otherwise, commands can be reissued
- * after reinitalization of port. After that, need to execute
+ * after reinitialization of port. After that, need to execute
* READ LOG EXT for NCQ to unblock device processing if COMRESET
* was not done.
*/
Index: src/sys/dev/microcode/i8255x/rcvbundl.h
diff -u src/sys/dev/microcode/i8255x/rcvbundl.h:1.4 src/sys/dev/microcode/i8255x/rcvbundl.h:1.5
--- src/sys/dev/microcode/i8255x/rcvbundl.h:1.4 Fri Sep 2 03:16:18 2011
+++ src/sys/dev/microcode/i8255x/rcvbundl.h Fri Feb 2 22:00:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: rcvbundl.h,v 1.4 2011/09/02 03:16:18 msaitoh Exp $ */
+/* $NetBSD: rcvbundl.h,v 1.5 2024/02/02 22:00:33 andvar Exp $ */
/*
Copyright (c) 1999-2001, Intel Corporation
@@ -80,7 +80,7 @@ rcvbundl.h file given above).
* driver can change algorithm.
*
* CPUSAVER_DWORD - This is the location of the instruction that loads
-* the dead-man timer with its inital value. By writing a 16-bit
+* the dead-man timer with its initial value. By writing a 16-bit
* value to the low word of this instruction, the driver can change
* the timer value. The current default is either x600 or x800;
* experiments show that the value probably should stay within the
Index: src/sys/dev/pci/amr.c
diff -u src/sys/dev/pci/amr.c:1.67 src/sys/dev/pci/amr.c:1.68
--- src/sys/dev/pci/amr.c:1.67 Sat Aug 7 16:19:14 2021
+++ src/sys/dev/pci/amr.c Fri Feb 2 22:00:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: amr.c,v 1.67 2021/08/07 16:19:14 thorpej Exp $ */
+/* $NetBSD: amr.c,v 1.68 2024/02/02 22:00:33 andvar Exp $ */
/*-
* Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amr.c,v 1.67 2021/08/07 16:19:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amr.c,v 1.68 2024/02/02 22:00:33 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -410,7 +410,7 @@ amr_attach(device_t parent, device_t sel
amr->amr_sgls_paddr - amr->amr_dmamap->dm_segs[0].ds_addr);
/*
- * Allocate and initalise the command control blocks.
+ * Allocate and initialise the command control blocks.
*/
ac = malloc(sizeof(*ac) * AMR_MAX_CMDS, M_DEVBUF, M_WAITOK | M_ZERO);
amr->amr_ccbs = ac;
Index: src/sys/dev/usb/usbnet.c
diff -u src/sys/dev/usb/usbnet.c:1.118 src/sys/dev/usb/usbnet.c:1.119
--- src/sys/dev/usb/usbnet.c:1.118 Mon Oct 9 17:44:33 2023
+++ src/sys/dev/usb/usbnet.c Fri Feb 2 22:00:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: usbnet.c,v 1.118 2023/10/09 17:44:33 riastradh Exp $ */
+/* $NetBSD: usbnet.c,v 1.119 2024/02/02 22:00:33 andvar Exp $ */
/*
* Copyright (c) 2019 Matthew R. Green
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.118 2023/10/09 17:44:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.119 2024/02/02 22:00:33 andvar Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -1327,7 +1327,7 @@ usbnet_if_init(struct ifnet *ifp)
* XXX Grody for sys/net to call if_init to reinitialize. This
* should be an assertion, not a branch, but it will require
* some tweaking of sys/net to avoid. See also the comment in
- * usbnet_ifflags_cb about if_init vs uno_mcast on reinitalize.
+ * usbnet_ifflags_cb about if_init vs uno_mcast on reinitialize.
*/
if (ifp->if_flags & IFF_RUNNING)
usbnet_stop(un, ifp, /*disable*/1/*XXX???*/);
Index: src/sys/netinet/sctp_constants.h
diff -u src/sys/netinet/sctp_constants.h:1.4 src/sys/netinet/sctp_constants.h:1.5
--- src/sys/netinet/sctp_constants.h:1.4 Wed May 18 13:37:52 2022
+++ src/sys/netinet/sctp_constants.h Fri Feb 2 22:00:34 2024
@@ -1,5 +1,5 @@
/* $KAME: sctp_constants.h,v 1.17 2005/03/06 16:04:17 itojun Exp $ */
-/* $NetBSD: sctp_constants.h,v 1.4 2022/05/18 13:37:52 andvar Exp $ */
+/* $NetBSD: sctp_constants.h,v 1.5 2024/02/02 22:00:34 andvar Exp $ */
#ifndef __SCTP_CONSTANTS_H__
#define __SCTP_CONSTANTS_H__
@@ -496,7 +496,7 @@
#define SCTP_MAX_OUTSTANDING_DG 10000
-/* How many streams I request initally by default */
+/* How many streams I request initially by default */
#define SCTP_OSTREAM_INITIAL 10
#define SCTP_SEG_TO_RWND_UPD 32 /* How many smallest_mtu's need to increase before