Module Name:    src
Committed By:   andvar
Date:           Tue Aug  1 21:26:28 UTC 2023

Modified Files:
        src/sys/arch/alpha/pci: lca_dma.c
        src/sys/arch/amiga/dev: if_le.c
        src/sys/arch/arm/imx: imxcspireg.h imxecspireg.h
        src/sys/arch/atari/dev: ncr5380.c
        src/sys/arch/atari/pci: pci_machdep.c
        src/sys/arch/i386/gdbscripts: stack
        src/sys/arch/i386/stand/mbr: mbr.S
        src/sys/arch/mac68k/dev: ncr5380.c
        src/sys/dev/ic: aic7xxx_osm.c
        src/sys/dev/pci: if_bnx.c
        src/sys/dev/qbus: qd.c
        src/sys/sys: exec.h

Log Message:
fix various typos in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/alpha/pci/lca_dma.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/amiga/dev/if_le.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/imx/imxcspireg.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/imx/imxecspireg.h
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/atari/dev/ncr5380.c
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/atari/pci/pci_machdep.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/gdbscripts/stack
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/i386/stand/mbr/mbr.S
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/mac68k/dev/ncr5380.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/ic/aic7xxx_osm.c
cvs rdiff -u -r1.111 -r1.112 src/sys/dev/pci/if_bnx.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/qbus/qd.c
cvs rdiff -u -r1.161 -r1.162 src/sys/sys/exec.h

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

Modified files:

Index: src/sys/arch/alpha/pci/lca_dma.c
diff -u src/sys/arch/alpha/pci/lca_dma.c:1.27 src/sys/arch/alpha/pci/lca_dma.c:1.28
--- src/sys/arch/alpha/pci/lca_dma.c:1.27	Sun Jul  4 22:42:36 2021
+++ src/sys/arch/alpha/pci/lca_dma.c	Tue Aug  1 21:26:27 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: lca_dma.c,v 1.27 2021/07/04 22:42:36 thorpej Exp $ */
+/* $NetBSD: lca_dma.c,v 1.28 2023/08/01 21:26:27 andvar Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: lca_dma.c,v 1.27 2021/07/04 22:42:36 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lca_dma.c,v 1.28 2023/08/01 21:26:27 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -180,7 +180,7 @@ lca_dma_init(struct lca_config *lcp)
 	REGVAL64(LCA_IOC_W_T_BASE0) = lcp->lc_sgmap.aps_ptpa;
 	alpha_mb();
 
-	/* Enble the scatter/gather TLB. */
+	/* Enable the scatter/gather TLB. */
 	REGVAL64(LCA_IOC_TB_ENA) = IOC_TB_ENA_TEN;
 	alpha_mb();
 

Index: src/sys/arch/amiga/dev/if_le.c
diff -u src/sys/arch/amiga/dev/if_le.c:1.46 src/sys/arch/amiga/dev/if_le.c:1.47
--- src/sys/arch/amiga/dev/if_le.c:1.46	Wed Jan 22 00:25:16 2014
+++ src/sys/arch/amiga/dev/if_le.c	Tue Aug  1 21:26:27 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_le.c,v 1.46 2014/01/22 00:25:16 christos Exp $ */
+/*	$NetBSD: if_le.c,v 1.47 2023/08/01 21:26:27 andvar Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
 #include "opt_inet.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_le.c,v 1.46 2014/01/22 00:25:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_le.c,v 1.47 2023/08/01 21:26:27 andvar Exp $");
 
 
 #include <sys/param.h>
@@ -282,7 +282,7 @@ ariadne_hwinit(struct lance_softc *sc)
 	ariadne_wribcr(sc, LE_BCR_LED3, 0x0084);
 
 	/*
-	 * Enabel/Disable auto selection
+	 * Enable/Disable auto selection
 	 */
 	if (sc->sc_initmodemedia == 2)
 		ariadne_autoselect(sc, 1);

Index: src/sys/arch/arm/imx/imxcspireg.h
diff -u src/sys/arch/arm/imx/imxcspireg.h:1.2 src/sys/arch/arm/imx/imxcspireg.h:1.3
--- src/sys/arch/arm/imx/imxcspireg.h:1.2	Fri Sep 27 02:59:21 2019
+++ src/sys/arch/arm/imx/imxcspireg.h	Tue Aug  1 21:26:27 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: imxcspireg.h,v 1.2 2019/09/27 02:59:21 hkenken Exp $	*/
+/*	$NetBSD: imxcspireg.h,v 1.3 2023/08/01 21:26:27 andvar Exp $	*/
 
 /*
  * Copyright (c) 2014  Genetec Corporation.  All rights reserved.
@@ -51,7 +51,7 @@
 #define	 CSPI_CON_MODE		__BIT(1)	/* MODE */
 #define	 CSPI_CON_ENABLE	__BIT(0)	/* EN */
 #define	CSPI_INTREG		0x0c
-#define	 CSPI_INTR_ALL_EN	0x000001ff	/* All Intarruption Enabled */
+#define	 CSPI_INTR_ALL_EN	0x000001ff	/* All Interrupts Enabled */
 #define	 CSPI_IMX31_INTR_TC_EN	__BIT(8)	/* TX Complete */
 #define	 CSPI_IMX31_INTR_BO_EN	__BIT(7)	/* Bit Counter Overflow */
 #define	 CSPI_IMX35_INTR_TC_EN	__BIT(7)	/* TX Complete */

Index: src/sys/arch/arm/imx/imxecspireg.h
diff -u src/sys/arch/arm/imx/imxecspireg.h:1.3 src/sys/arch/arm/imx/imxecspireg.h:1.4
--- src/sys/arch/arm/imx/imxecspireg.h:1.3	Thu Dec 26 04:53:11 2019
+++ src/sys/arch/arm/imx/imxecspireg.h	Tue Aug  1 21:26:27 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: imxecspireg.h,v 1.3 2019/12/26 04:53:11 msaitoh Exp $	*/
+/*	$NetBSD: imxecspireg.h,v 1.4 2023/08/01 21:26:27 andvar Exp $	*/
 
 /*
  * Copyright (c) 2012  Genetec Corporation.  All rights reserved.
@@ -51,7 +51,7 @@
 #define	 ECSPI_CONFIG_SCLK_POL	__BITS( 7, 4)	/* SCLK POL */
 #define	 ECSPI_CONFIG_SCLK_PHA	__BITS( 3, 0)	/* SCLK PHA */
 #define	ECSPI_INTREG		0x10
-#define	 ECSPI_INTR_ALL_EN	__BITS( 7, 0)	/* All Intarruption Enabled */
+#define	 ECSPI_INTR_ALL_EN	__BITS( 7, 0)	/* All Interrupts Enabled */
 #define	 ECSPI_INTR_TC_EN	__BIT(7)	/* TX Complete */
 #define	 ECSPI_INTR_RO_EN	__BIT(6)	/* RXFIFO Overflow */
 #define	 ECSPI_INTR_RF_EN	__BIT(5)	/* RXFIFO Full */

Index: src/sys/arch/atari/dev/ncr5380.c
diff -u src/sys/arch/atari/dev/ncr5380.c:1.78 src/sys/arch/atari/dev/ncr5380.c:1.79
--- src/sys/arch/atari/dev/ncr5380.c:1.78	Fri Jan  6 10:28:28 2023
+++ src/sys/arch/atari/dev/ncr5380.c	Tue Aug  1 21:26:27 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: ncr5380.c,v 1.78 2023/01/06 10:28:28 tsutsui Exp $	*/
+/*	$NetBSD: ncr5380.c,v 1.79 2023/08/01 21:26:27 andvar Exp $	*/
 
 /*
  * Copyright (c) 1995 Leo Weppelman.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.78 2023/01/06 10:28:28 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.79 2023/08/01 21:26:27 andvar Exp $");
 
 /*
  * Bit mask of targets you want debugging to be shown
@@ -723,7 +723,7 @@ scsi_select(SC_REQ *reqp, int code)
 	sps = splbio();
 
 	/*
-	 * Prevent a race condition here. If a reslection interrupt occurred
+	 * Prevent a race condition here. If a reselection interrupt occurred
 	 * between the decision to pick a new request and the call to select,
 	 * we abort the selection.
 	 * Interrupts are lowered when the 5380 is setup to arbitrate for the

Index: src/sys/arch/atari/pci/pci_machdep.c
diff -u src/sys/arch/atari/pci/pci_machdep.c:1.63 src/sys/arch/atari/pci/pci_machdep.c:1.64
--- src/sys/arch/atari/pci/pci_machdep.c:1.63	Fri Jan  6 10:28:28 2023
+++ src/sys/arch/atari/pci/pci_machdep.c	Tue Aug  1 21:26:27 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: pci_machdep.c,v 1.63 2023/01/06 10:28:28 tsutsui Exp $	*/
+/*	$NetBSD: pci_machdep.c,v 1.64 2023/08/01 21:26:27 andvar Exp $	*/
 
 /*
  * Copyright (c) 1996 Leo Weppelman.  All rights reserved.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.63 2023/01/06 10:28:28 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.64 2023/08/01 21:26:27 andvar Exp $");
 
 #include "opt_mbtype.h"
 
@@ -359,7 +359,7 @@ enable_pci_devices(void)
 		 * enabled preserve 128k at 0xa0000 as vga memory.
 		 * XXX: if a display card is found without being enabled,
 		 * leave it alone! You will usually only create conflicts
-		 * by enabeling it.
+		 * by enabling it.
 		 */
 		class = pci_conf_read(pc, tag, PCI_CLASS_REG);
 		switch (PCI_CLASS(class)) {

Index: src/sys/arch/i386/gdbscripts/stack
diff -u src/sys/arch/i386/gdbscripts/stack:1.3 src/sys/arch/i386/gdbscripts/stack:1.4
--- src/sys/arch/i386/gdbscripts/stack:1.3	Mon Apr 28 20:23:23 2008
+++ src/sys/arch/i386/gdbscripts/stack	Tue Aug  1 21:26:27 2023
@@ -1,4 +1,4 @@
-# $NetBSD: stack,v 1.3 2008/04/28 20:23:23 martin Exp $
+# $NetBSD: stack,v 1.4 2023/08/01 21:26:27 andvar Exp $
 
 # Copyright (c) 2000 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -38,7 +38,7 @@
 #	      at 0xc01bc97d <panic+197> (frame at 0xc5633bd0)
 #
 # In this case, the initial hex number and offset should be disregarded,
-# and it should be interprted as if it were:
+# and it should be interpreted as if it were:
 #
 #  cpu_reboot(0x100,0x0,0xc04fd728,0x0,0x6)
 #	      at 0xc01bc97d <panic+197> (frame at 0xc5633bd0)

Index: src/sys/arch/i386/stand/mbr/mbr.S
diff -u src/sys/arch/i386/stand/mbr/mbr.S:1.23 src/sys/arch/i386/stand/mbr/mbr.S:1.24
--- src/sys/arch/i386/stand/mbr/mbr.S:1.23	Wed Dec  8 21:56:42 2010
+++ src/sys/arch/i386/stand/mbr/mbr.S	Tue Aug  1 21:26:27 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: mbr.S,v 1.23 2010/12/08 21:56:42 jakllsch Exp $	*/
+/*	$NetBSD: mbr.S,v 1.24 2023/08/01 21:26:27 andvar Exp $	*/
 
 /*
  * Copyright (c) 1999-2004 The NetBSD Foundation, Inc. 
@@ -174,7 +174,7 @@ mbr:
  *
  * Register use:
  * %ax			temp
- * %bx	nametab[]	boot seletor menu
+ * %bx	nametab[]	boot selector menu
  * %ecx			base of 'extended' partition
  * %edx			next extended partition
  * %si			message ptr (etc)

Index: src/sys/arch/mac68k/dev/ncr5380.c
diff -u src/sys/arch/mac68k/dev/ncr5380.c:1.71 src/sys/arch/mac68k/dev/ncr5380.c:1.72
--- src/sys/arch/mac68k/dev/ncr5380.c:1.71	Thu Apr  7 19:33:37 2022
+++ src/sys/arch/mac68k/dev/ncr5380.c	Tue Aug  1 21:26:28 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: ncr5380.c,v 1.71 2022/04/07 19:33:37 andvar Exp $	*/
+/*	$NetBSD: ncr5380.c,v 1.72 2023/08/01 21:26:28 andvar Exp $	*/
 
 /*
  * Copyright (c) 1995 Leo Weppelman.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.71 2022/04/07 19:33:37 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.72 2023/08/01 21:26:28 andvar Exp $");
 
 /*
  * Bit mask of targets you want debugging to be shown
@@ -703,7 +703,7 @@ scsi_select(SC_REQ *reqp, int code)
 	sps = splbio();
 
 	/*
-	 * Prevent a race condition here. If a reslection interrupt occurred
+	 * Prevent a race condition here. If a reselection interrupt occurred
 	 * between the decision to pick a new request and the call to select,
 	 * we abort the selection.
 	 * Interrupts are lowered when the 5380 is setup to arbitrate for the

Index: src/sys/dev/ic/aic7xxx_osm.c
diff -u src/sys/dev/ic/aic7xxx_osm.c:1.42 src/sys/dev/ic/aic7xxx_osm.c:1.43
--- src/sys/dev/ic/aic7xxx_osm.c:1.42	Wed Feb 23 21:54:41 2022
+++ src/sys/dev/ic/aic7xxx_osm.c	Tue Aug  1 21:26:28 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: aic7xxx_osm.c,v 1.42 2022/02/23 21:54:41 andvar Exp $	*/
+/*	$NetBSD: aic7xxx_osm.c,v 1.43 2023/08/01 21:26:28 andvar Exp $	*/
 
 /*
  * Bus independent FreeBSD shim for the aic7xxx based adaptec SCSI controllers
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.42 2022/02/23 21:54:41 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.43 2023/08/01 21:26:28 andvar Exp $");
 
 #include <dev/ic/aic7xxx_osm.h>
 #include <dev/ic/aic7xxx_inline.h>
@@ -1008,7 +1008,7 @@ bus_reset:
 				 * In the non-paging case, the sequencer will
 				 * never re-reference the in-core SCB.
 				 * To make sure we are notified during
-				 * reslection, set the MK_MESSAGE flag in
+				 * reselection, set the MK_MESSAGE flag in
 				 * the card's copy of the SCB.
 				 */
 				if ((ahc->flags & AHC_PAGESCBS) == 0) {

Index: src/sys/dev/pci/if_bnx.c
diff -u src/sys/dev/pci/if_bnx.c:1.111 src/sys/dev/pci/if_bnx.c:1.112
--- src/sys/dev/pci/if_bnx.c:1.111	Thu Aug  4 21:11:52 2022
+++ src/sys/dev/pci/if_bnx.c	Tue Aug  1 21:26:28 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_bnx.c,v 1.111 2022/08/04 21:11:52 andvar Exp $	*/
+/*	$NetBSD: if_bnx.c,v 1.112 2023/08/01 21:26:28 andvar Exp $	*/
 /*	$OpenBSD: if_bnx.c,v 1.101 2013/03/28 17:21:44 brad Exp $	*/
 
 /*-
@@ -35,7 +35,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/sys/dev/bce/if_bce.c,v 1.3 2006/04/13 14:12:26 ru Exp $");
 #endif
-__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.111 2022/08/04 21:11:52 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.112 2023/08/01 21:26:28 andvar Exp $");
 
 /*
  * The following controllers are supported by this driver:
@@ -5586,7 +5586,7 @@ bnx_iff(struct bnx_softc *sc)
 
 	/*
 	 * ASF/IPMI/UMP firmware requires that VLAN tag stripping
-	 * be enbled.
+	 * be enabled.
 	 */
 	if (!(sc->bnx_flags & BNX_MFW_ENABLE_FLAG))
 		rx_mode |= BNX_EMAC_RX_MODE_KEEP_VLAN_TAG;

Index: src/sys/dev/qbus/qd.c
diff -u src/sys/dev/qbus/qd.c:1.61 src/sys/dev/qbus/qd.c:1.62
--- src/sys/dev/qbus/qd.c:1.61	Sat Apr 16 18:15:22 2022
+++ src/sys/dev/qbus/qd.c	Tue Aug  1 21:26:28 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: qd.c,v 1.61 2022/04/16 18:15:22 andvar Exp $	*/
+/*	$NetBSD: qd.c,v 1.62 2023/08/01 21:26:28 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1988 Regents of the University of California.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: qd.c,v 1.61 2022/04/16 18:15:22 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: qd.c,v 1.62 2023/08/01 21:26:28 andvar Exp $");
 
 #include "opt_ddb.h"
 
@@ -824,7 +824,7 @@ qdopen(dev_t dev, int flag, int mode, st
 			qdopened[unit] = 1;
 		qdflags[unit].inuse |= GRAPHIC_DEV;  /* graphics dev is open */
 		/*
-		 * enble kbd & mouse intrpts in DUART mask reg
+		 * enable kbd & mouse intrpts in DUART mask reg
 		 */
 		qdflags[unit].duart_imask |= 0x22;
 		duart->imask = qdflags[unit].duart_imask;

Index: src/sys/sys/exec.h
diff -u src/sys/sys/exec.h:1.161 src/sys/sys/exec.h:1.162
--- src/sys/sys/exec.h:1.161	Fri Nov 26 08:06:12 2021
+++ src/sys/sys/exec.h	Tue Aug  1 21:26:28 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: exec.h,v 1.161 2021/11/26 08:06:12 ryo Exp $	*/
+/*	$NetBSD: exec.h,v 1.162 2023/08/01 21:26:28 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -215,7 +215,7 @@ struct exec_package {
 	void	*ep_emul_arg;		/* emulation argument */
 	const struct	execsw *ep_esch;/* execsw entry */
 	struct vnode *ep_emul_root;     /* base of emulation filesystem */
-	struct vnode *ep_interp;        /* vnode of (elf) interpeter */
+	struct vnode *ep_interp;        /* vnode of (elf) interpreter */
 	uint32_t ep_pax_flags;		/* pax flags */
 	void	(*ep_emul_arg_free)(void *);
 					/* free ep_emul_arg */

Reply via email to