Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys fix various typos, mainly in comments.



details:   https://anonhg.NetBSD.org/src/rev/6da84d5cf284
branches:  trunk
changeset: 986267:6da84d5cf284
user:      andvar <andvar%NetBSD.org@localhost>
date:      Thu Sep 16 20:17:46 2021 +0000

description:
fix various typos, mainly in comments.

diffstat:

 lib/libc/resolv/res_debug.c                    |  8 ++++----
 sys/arch/acorn32/acorn32/rpc_machdep.c         |  6 +++---
 sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c |  6 +++---
 sys/arch/acorn32/podulebus/sbicreg.h           |  4 ++--
 sys/arch/alpha/pci/pci_machdep.c               |  6 +++---
 sys/arch/amiga/dev/sbicreg.h                   |  4 ++--
 sys/arch/atari/atari/le_bus.c                  |  6 +++---
 sys/arch/evbarm/stand/Makefile                 |  4 ++--
 sys/arch/i386/stand/lib/netif/3c509.h          |  4 ++--
 sys/arch/mips/rmi/rmixl_obio_el_space.c        |  6 +++---
 sys/arch/mvme68k/dev/sbicreg.h                 |  4 ++--
 sys/arch/xen/include/i82489var.h               |  4 ++--
 sys/dev/pci/if_bge.c                           |  6 +++---
 sys/net/if.c                                   |  6 +++---
 sys/nfs/nfs_serv.c                             |  6 +++---
 sys/sys/flashio.h                              |  4 ++--
 16 files changed, 42 insertions(+), 42 deletions(-)

diffs (truncated from 371 to 300 lines):

diff -r 1b22d40b857a -r 6da84d5cf284 lib/libc/resolv/res_debug.c
--- a/lib/libc/resolv/res_debug.c       Thu Sep 16 19:44:01 2021 +0000
+++ b/lib/libc/resolv/res_debug.c       Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: res_debug.c,v 1.15 2018/12/13 08:45:29 maya Exp $      */
+/*     $NetBSD: res_debug.c,v 1.16 2021/09/16 20:17:46 andvar Exp $    */
 
 /*
  * Portions Copyright (C) 2004, 2005, 2008, 2009  Internet Systems Consortium, Inc. ("ISC")
@@ -97,7 +97,7 @@
 static const char sccsid[] = "@(#)res_debug.c  8.1 (Berkeley) 6/4/93";
 static const char rcsid[] = "Id: res_debug.c,v 1.19 2009/02/26 11:20:20 tbox Exp";
 #else
-__RCSID("$NetBSD: res_debug.c,v 1.15 2018/12/13 08:45:29 maya Exp $");
+__RCSID("$NetBSD: res_debug.c,v 1.16 2021/09/16 20:17:46 andvar Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -509,7 +509,7 @@
        {ns_t_naptr,    "NAPTR",        "naptr"},
        {ns_t_kx,       "KX",           "key exchange"},
        {ns_t_cert,     "CERT",         "certificate"},
-       {ns_t_a6,       "A",            "IPv6 address (experminental)"},
+       {ns_t_a6,       "A",            "IPv6 address (experimental)"},
        {ns_t_dname,    "DNAME",        "non-terminal redirection"},
        {ns_t_opt,      "OPT",          "opt"},
        {ns_t_apl,      "apl",          "apl"},
@@ -680,7 +680,7 @@
        case RES_DEBUG:         return "debug";
        case RES_AAONLY:        return "aaonly(unimpl)";
        case RES_USEVC:         return "usevc";
-       case RES_PRIMARY:       return "primry(unimpl)";
+       case RES_PRIMARY:       return "primary(unimpl)";
        case RES_IGNTC:         return "igntc";
        case RES_RECURSE:       return "recurs";
        case RES_DEFNAMES:      return "defnam";
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/acorn32/acorn32/rpc_machdep.c
--- a/sys/arch/acorn32/acorn32/rpc_machdep.c    Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/acorn32/acorn32/rpc_machdep.c    Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpc_machdep.c,v 1.99 2021/08/17 22:00:26 andvar Exp $  */
+/*     $NetBSD: rpc_machdep.c,v 1.100 2021/09/16 20:17:46 andvar Exp $ */
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -54,7 +54,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.99 2021/08/17 22:00:26 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.100 2021/09/16 20:17:46 andvar Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -405,7 +405,7 @@
         */
        set_cpufuncs();
 
-       /* canonicalise the boot configuration structure to alow versioning */
+       /* canonicalise the boot configuration structure to allow versioning */
        canonicalise_bootconfig(&bootconfig, raw_bootconf);
        booted_kernel = bootconfig.kernelname;
 
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
--- a/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c    Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c    Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eb7500atx_machdep.c,v 1.35 2021/08/17 22:00:26 andvar Exp $    */
+/*     $NetBSD: eb7500atx_machdep.c,v 1.36 2021/09/16 20:17:46 andvar Exp $    */
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -54,7 +54,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.35 2021/08/17 22:00:26 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.36 2021/09/16 20:17:46 andvar Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -370,7 +370,7 @@
         */
        set_cpufuncs();
 
-       /* canonicalise the boot configuration structure to alow versioning */
+       /* canonicalise the boot configuration structure to allow versioning */
        canonicalise_bootconfig(&bootconfig, raw_bootconf);
        booted_kernel = bootconfig.kernelname;
 
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/acorn32/podulebus/sbicreg.h
--- a/sys/arch/acorn32/podulebus/sbicreg.h      Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/acorn32/podulebus/sbicreg.h      Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbicreg.h,v 1.5 2006/03/08 23:46:22 lukem Exp $ */
+/* $NetBSD: sbicreg.h,v 1.6 2021/09/16 20:17:46 andvar Exp $ */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -115,7 +115,7 @@
  */
 
 #define SBIC_CTL_DMA           0x80    /* Single byte dma */
-#define SBIC_CTL_DBA_DMA       0x40    /* direct buffer acces (bus master)*/
+#define SBIC_CTL_DBA_DMA       0x40    /* direct buffer access (bus master)*/
 #define SBIC_CTL_BURST_DMA     0x20    /* continuous mode (8237) */
 #define SBIC_CTL_NO_DMA                0x00    /* Programmed I/O */
 #define SBIC_CTL_HHP           0x10    /* Halt on host parity error */
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/alpha/pci/pci_machdep.c
--- a/sys/arch/alpha/pci/pci_machdep.c  Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/alpha/pci/pci_machdep.c  Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.c,v 1.32 2021/07/04 22:36:43 thorpej Exp $ */
+/* $NetBSD: pci_machdep.c,v 1.33 2021/09/16 20:17:46 andvar Exp $ */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.32 2021/07/04 22:36:43 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.33 2021/09/16 20:17:46 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -274,7 +274,7 @@
 
        /*
         * If the back-end didn't tell us where we can route, then
-        * they all go to the primry CPU.
+        * they all go to the primary CPU.
         */
        if (pc->pc_eligible_cpus == 0) {
                return &cpu_info_primary;
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/amiga/dev/sbicreg.h
--- a/sys/arch/amiga/dev/sbicreg.h      Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/amiga/dev/sbicreg.h      Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbicreg.h,v 1.8 2010/02/05 12:13:36 phx Exp $  */
+/*     $NetBSD: sbicreg.h,v 1.9 2021/09/16 20:17:46 andvar Exp $       */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -115,7 +115,7 @@
  */
 
 #define SBIC_CTL_DMA           0x80    /* Single byte dma */
-#define SBIC_CTL_DBA_DMA       0x40    /* direct buffer acces (bus master)*/
+#define SBIC_CTL_DBA_DMA       0x40    /* direct buffer access (bus master)*/
 #define SBIC_CTL_BURST_DMA     0x20    /* continuous mode (8237) */
 #define SBIC_CTL_NO_DMA                0x00    /* Programmed I/O */
 #define SBIC_CTL_HHP           0x10    /* Halt on host parity error */
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/atari/atari/le_bus.c
--- a/sys/arch/atari/atari/le_bus.c     Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/atari/atari/le_bus.c     Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: le_bus.c,v 1.21 2021/01/03 17:42:10 thorpej Exp $      */
+/*     $NetBSD: le_bus.c,v 1.22 2021/09/16 20:17:47 andvar Exp $       */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: le_bus.c,v 1.21 2021/01/03 17:42:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: le_bus.c,v 1.22 2021/09/16 20:17:47 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -41,7 +41,7 @@
 #include <sys/bus.h>
 
 /*
- * This file contains the common functions for using a litte endian (linear)
+ * This file contains the common functions for using a little endian (linear)
  * bus on a big endian atari.
  */
 
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/evbarm/stand/Makefile
--- a/sys/arch/evbarm/stand/Makefile    Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/evbarm/stand/Makefile    Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2020/09/12 15:25:41 jmcneill Exp $
+#      $NetBSD: Makefile,v 1.14 2021/09/16 20:17:47 andvar Exp $
 
 .include <bsd.endian.mk>
 
@@ -7,7 +7,7 @@
 SUBDIR+= boot2440
 .if ${TARGET_ENDIANNESS} == "1234"
 # According to the i.MX23 Reference Manual section 3.1, Page 3-3:
-# "The i.MX23 always operates in litle-endian mode."
+# "The i.MX23 always operates in little-endian mode."
 SUBDIR+= bootimx23
 .endif
 .endif
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/i386/stand/lib/netif/3c509.h
--- a/sys/arch/i386/stand/lib/netif/3c509.h     Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/i386/stand/lib/netif/3c509.h     Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: 3c509.h,v 1.6 2006/11/24 22:52:16 wiz Exp $    */
+/*     $NetBSD: 3c509.h,v 1.7 2021/09/16 20:17:47 andvar Exp $ */
 
 /*
  * Copyright (c) 1993 Herb Peyerl
@@ -60,7 +60,7 @@
 #define EP_ID_PORT      0x100
 
 /*
- * some macros to acces long named fields
+ * some macros to access long named fields
  */
 #define IS_BASE (eth_base)
 #define BASE   (eth_base)
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/mips/rmi/rmixl_obio_el_space.c
--- a/sys/arch/mips/rmi/rmixl_obio_el_space.c   Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/mips/rmi/rmixl_obio_el_space.c   Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rmixl_obio_el_space.c,v 1.3 2011/07/01 19:01:31 dyoung Exp $   */
+/*     $NetBSD: rmixl_obio_el_space.c,v 1.4 2021/09/16 20:17:47 andvar Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,11 +30,11 @@
  */
 
 /*
- * Litle Endian bus_space(9) support for RMI {XLP,XLR,XLS} obio
+ * Little Endian bus_space(9) support for RMI {XLP,XLR,XLS} obio
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_obio_el_space.c,v 1.3 2011/07/01 19:01:31 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_obio_el_space.c,v 1.4 2021/09/16 20:17:47 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/mvme68k/dev/sbicreg.h
--- a/sys/arch/mvme68k/dev/sbicreg.h    Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/mvme68k/dev/sbicreg.h    Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbicreg.h,v 1.5 2008/01/12 09:54:27 tsutsui Exp $      */
+/*     $NetBSD: sbicreg.h,v 1.6 2021/09/16 20:17:47 andvar Exp $       */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -115,7 +115,7 @@
  */
 
 #define SBIC_CTL_DMA           0x80    /* Single byte dma */
-#define SBIC_CTL_DBA_DMA       0x40    /* direct buffer acces (bus master)*/
+#define SBIC_CTL_DBA_DMA       0x40    /* direct buffer access (bus master)*/
 #define SBIC_CTL_BURST_DMA     0x20    /* continuous mode (8237) */
 #define SBIC_CTL_NO_DMA                0x00    /* Programmed I/O */
 #define SBIC_CTL_HHP           0x10    /* Halt on host parity error */
diff -r 1b22d40b857a -r 6da84d5cf284 sys/arch/xen/include/i82489var.h
--- a/sys/arch/xen/include/i82489var.h  Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/arch/xen/include/i82489var.h  Thu Sep 16 20:17:46 2021 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: i82489var.h,v 1.2 2010/11/14 13:40:31 bouyer Exp $     */
+/*     $NetBSD: i82489var.h,v 1.3 2021/09/16 20:17:47 andvar Exp $     */
 
 #include <x86/i82489var.h>
 
 /*
- * Xen doesn't give acces to the lapic. In addition, the lapic number provided
+ * Xen doesn't give access to the lapic. In addition, the lapic number provided
  * by the dom0 to Xen when setting up iopics is ignored, the hypervisor will
  * decide itself to which physical CPU the interrupt should be routed to.
  */
diff -r 1b22d40b857a -r 6da84d5cf284 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Thu Sep 16 19:44:01 2021 +0000
+++ b/sys/dev/pci/if_bge.c      Thu Sep 16 20:17:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.348 2021/09/03 21:55:00 andvar Exp $      */
+/*     $NetBSD: if_bge.c,v 1.349 2021/09/16 20:17:47 andvar Exp $      */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.348 2021/09/03 21:55:00 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.349 2021/09/16 20:17:47 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2903,7 +2903,7 @@
                /*
                 * Enable fix for read DMA FIFO overruns.
                 * The fix is to limit the number of RX BDs
-                * the hardware would fetch at a fime.
+                * the hardware would fetch at a time.
                 */
                CSR_WRITE_4(sc, rdmareg, dmactl |
                    BGE_RDMA_RSRVCTRL_FIFO_OFLW_FIX);
diff -r 1b22d40b857a -r 6da84d5cf284 sys/net/if.c



Home | Main Index | Thread Index | Old Index