Source-Changes-HG archive

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

[src/trunk]: src fix multiplei repetitive typos in comments, messages and doc...



details:   https://anonhg.NetBSD.org/src/rev/9ee931e2b654
branches:  trunk
changeset: 1022987:9ee931e2b654
user:      andvar <andvar%NetBSD.org@localhost>
date:      Tue Aug 17 22:00:26 2021 +0000

description:
fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.

diffstat:

 share/man/man4/route.4                           |   4 ++--
 sys/altq/altq_cbq.c                              |   6 +++---
 sys/arch/acorn32/acorn32/rpc_machdep.c           |  14 +++++++-------
 sys/arch/acorn32/doc/history                     |   4 ++--
 sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c   |   8 ++++----
 sys/arch/alpha/jensenio/jensenio_dma.c           |   6 +++---
 sys/arch/amiga/amiga/amiga_init.c                |   6 +++---
 sys/arch/amiga/dev/fd.c                          |   8 ++++----
 sys/arch/amiga/dev/grfabs_cc.c                   |   8 ++++----
 sys/arch/arm/footbridge/footbridge_machdep.c     |  10 +++++-----
 sys/arch/arm/imx/imxspi.c                        |   8 ++++----
 sys/arch/atari/atari/atari_init.c                |   6 +++---
 sys/arch/atari/dev/grfabs_fal.c                  |   8 ++++----
 sys/arch/atari/dev/grfabs_tt.c                   |   8 ++++----
 sys/arch/atari/dev/if_ne_mb.c                    |   6 +++---
 sys/arch/evbarm/adi_brh/brh_machdep.c            |   6 +++---
 sys/arch/evbarm/armadillo/armadillo9_machdep.c   |   6 +++---
 sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c        |   4 ++--
 sys/arch/evbarm/hdl_g/hdlg_machdep.c             |   6 +++---
 sys/arch/evbarm/imx31/imx31lk_machdep.c          |   6 +++---
 sys/arch/evbarm/iq80310/iq80310_machdep.c        |   6 +++---
 sys/arch/evbarm/iq80321/iq80321_machdep.c        |   6 +++---
 sys/arch/evbarm/ixdp425/ixdp425_machdep.c        |   6 +++---
 sys/arch/evbarm/ixm1200/ixm1200_machdep.c        |  16 ++++++++--------
 sys/arch/evbarm/lubbock/lubbock_machdep.c        |   6 +++---
 sys/arch/evbarm/mini2440/mini2440_machdep.c      |   4 ++--
 sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c        |   6 +++---
 sys/arch/evbarm/nslu2/nslu2_machdep.c            |   6 +++---
 sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c      |   6 +++---
 sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c      |   6 +++---
 sys/arch/evbarm/tsarm/tsarm_machdep.c            |   6 +++---
 sys/arch/evbarm/viper/viper_machdep.c            |   6 +++---
 sys/arch/hpcarm/hpcarm/kloader_machdep.c         |   6 +++---
 sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c      |   6 +++---
 sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c      |   6 +++---
 sys/arch/i386/conf/MODULAR                       |   4 ++--
 sys/arch/macppc/stand/ofwboot/ofdev.c            |   4 ++--
 sys/arch/mips/alchemy/include/aureg.h            |   4 ++--
 sys/arch/mips/ralink/ralink_eth.c                |   6 +++---
 sys/arch/mipsco/obio/rambo.h                     |   4 ++--
 sys/arch/netwinder/netwinder/netwinder_machdep.c |   6 +++---
 sys/arch/pmax/ibus/siireg.h                      |   4 ++--
 sys/arch/powerpc/oea/ofw_rascons.c               |   6 +++---
 sys/arch/sh3/include/scifreg.h                   |   4 ++--
 sys/arch/shark/shark/shark_machdep.c             |   8 ++++----
 sys/arch/sparc/sparc/machdep.c                   |   6 +++---
 sys/arch/sun2/sun2/machdep.c                     |   6 +++---
 sys/arch/sun68k/stand/README                     |   4 ++--
 sys/arch/vax/include/qdreg.h                     |   4 ++--
 sys/arch/zaurus/zaurus/kloader_machdep.c         |   6 +++---
 sys/arch/zaurus/zaurus/machdep.c                 |   6 +++---
 sys/dev/ic/gemreg.h                              |   4 ++--
 sys/dev/ic/hd64570.c                             |   8 ++++----
 sys/dev/ic/rndisreg.h                            |   4 ++--
 sys/dev/ic/tulipreg.h                            |   4 ++--
 sys/dev/marvell/if_mvxpereg.h                    |   4 ++--
 sys/dev/pci/if_casreg.h                          |   4 ++--
 sys/dev/pci/if_iwmreg.h                          |   4 ++--
 sys/dev/pci/ixgbe/if_bypass.c                    |   6 +++---
 sys/dev/pci/pci_subr.c                           |  12 ++++++------
 sys/dev/pci/pcireg.h                             |  18 +++++++++---------
 sys/dev/qbus/qdreg.h                             |   4 ++--
 sys/dev/tc/stic.c                                |   6 +++---
 sys/dev/usb/usb_quirks.c                         |   6 +++---
 sys/dev/usb/xhci.c                               |   6 +++---
 sys/kern/subr_vmem.c                             |   6 +++---
 sys/lib/libkern/arch/hppa/milli.S                |   8 ++++----
 sys/netinet6/ip6_output.c                        |   6 +++---
 sys/netinet6/ip6_var.h                           |   4 ++--
 sys/sys/shm.h                                    |   4 ++--
 sys/ufs/ext2fs/ext2fs_inode.c                    |   6 +++---
 tests/net/if/t_ifconfig.sh                       |   4 ++--
 usr.sbin/acpitools/amldb/amldb.8                 |   4 ++--
 usr.sbin/acpitools/amldb/debug.c                 |   6 +++---
 usr.sbin/ypserv/ypinit/ypinit.sh                 |   4 ++--
 75 files changed, 230 insertions(+), 230 deletions(-)

diffs (truncated from 1996 to 300 lines):

diff -r 9a1174ad4621 -r 9ee931e2b654 share/man/man4/route.4
--- a/share/man/man4/route.4    Tue Aug 17 21:39:32 2021 +0000
+++ b/share/man/man4/route.4    Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: route.4,v 1.33 2020/02/08 14:17:30 roy Exp $
+.\"    $NetBSD: route.4,v 1.34 2021/08/17 22:00:26 andvar Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -175,7 +175,7 @@
 system call for further input.
 .Pp
 A process can specify which route message types it's interested in by passing
-an array of route messsage types to the
+an array of route message types to the
 .Xr setsockopt 2
 call with the
 .Dv RO_MSGFILTER
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/altq/altq_cbq.c
--- a/sys/altq/altq_cbq.c       Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/altq/altq_cbq.c       Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: altq_cbq.c,v 1.36 2021/07/21 07:34:44 ozaki-r Exp $    */
+/*     $NetBSD: altq_cbq.c,v 1.37 2021/08/17 22:00:26 andvar Exp $     */
 /*     $KAME: altq_cbq.c,v 1.21 2005/04/13 03:44:24 suz Exp $  */
 
 /*
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: altq_cbq.c,v 1.36 2021/07/21 07:34:44 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: altq_cbq.c,v 1.37 2021/08/17 22:00:26 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_altq.h"
@@ -816,7 +816,7 @@
  *     that interface.
  *
  *     Returns:        0, for no error.
- *                     EBADF, for specified inteface not found.
+ *                     EBADF, for specified interface not found.
  */
 
 static int
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/arch/acorn32/acorn32/rpc_machdep.c
--- a/sys/arch/acorn32/acorn32/rpc_machdep.c    Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/arch/acorn32/acorn32/rpc_machdep.c    Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpc_machdep.c,v 1.98 2020/04/18 11:00:37 skrll Exp $   */
+/*     $NetBSD: rpc_machdep.c,v 1.99 2021/08/17 22:00:26 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.98 2020/04/18 11:00:37 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.99 2021/08/17 22:00:26 andvar Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -501,7 +501,7 @@
        printf("Allocating page tables\n");
 #endif
        /*
-        * Set up the variables that define the availablilty of physical
+        * Set up the variables that define the availability of physical
         * memory
         */
        physical_start = 0xffffffff;
@@ -799,7 +799,7 @@
         * but since we are boot strapping the addresses used for the read
         * may have just been remapped and thus the cache could be out
         * of sync. A re-clean after the switch will cure this.
-        * After booting there are no gross reloations of the kernel thus
+        * After booting there are no gross relocations of the kernel thus
         * this problem will not occur after initarm().
         */
        cpu_idcache_wbinv_all();
@@ -1078,9 +1078,9 @@
  * virtual address space that NOTHING else will access
  * and then we alternate the cache cleaning between the
  * two banks.
- * The cache cleaning code requires requires 2 banks aligned
- * on total size boundry so the banks can be alternated by
- * eorring the size bit (assumes the bank size is a power of 2)
+ * The cache cleaning code requires 2 banks aligned
+ * on total size boundary so the banks can be alternated by
+ * xorring the size bit (assumes the bank size is a power of 2)
  */
 extern unsigned int sa1_cache_clean_addr;
 extern unsigned int sa1_cache_clean_size;
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/arch/acorn32/doc/history
--- a/sys/arch/acorn32/doc/history      Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/arch/acorn32/doc/history      Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: history,v 1.6 2020/08/19 02:19:07 msaitoh Exp $
+#      $NetBSD: history,v 1.7 2021/08/17 22:00:26 andvar Exp $
 ---------------------------------------------------------------------------
 This document is more included as a historical reference and nostalgia :)
 rather than a still worked on list.
@@ -199,7 +199,7 @@
 20/11/95
        - restructure of directories contains device files
        - fixed bug in pmap_pte() that could result in non-word
-         aligned pointers being returned in a off page boundry virtual
+         aligned pointers being returned in a off page boundary virtual
          address was specified.
        -
 
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
--- a/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c    Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c    Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eb7500atx_machdep.c,v 1.34 2020/04/18 11:00:37 skrll Exp $     */
+/*     $NetBSD: eb7500atx_machdep.c,v 1.35 2021/08/17 22:00:26 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.34 2020/04/18 11:00:37 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.35 2021/08/17 22:00:26 andvar Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -455,7 +455,7 @@
        printf("Allocating page tables\n");
 #endif
        /*
-        * Set up the variables that define the availablilty of physical
+        * Set up the variables that define the availability of physical
         * memory
         */
        physical_start = 0xffffffff;
@@ -743,7 +743,7 @@
         * but since we are boot strapping the addresses used for the read
         * may have just been remapped and thus the cache could be out
         * of sync. A re-clean after the switch will cure this.
-        * After booting there are no gross reloations of the kernel thus
+        * After booting there are no gross relocations of the kernel thus
         * this problem will not occur after initarm().
         */
        cpu_idcache_wbinv_all();
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/arch/alpha/jensenio/jensenio_dma.c
--- a/sys/arch/alpha/jensenio/jensenio_dma.c    Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/arch/alpha/jensenio/jensenio_dma.c    Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jensenio_dma.c,v 1.9 2021/07/04 22:42:35 thorpej Exp $ */
+/* $NetBSD: jensenio_dma.c,v 1.10 2021/08/17 22:00:27 andvar Exp $ */
 
 /*-
  * Copyright (c) 2000, 2020 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
  * DMA support for the Jensen system.
  *
  * The Jensen uses direct-mapped DMA with a window base of 0, i.e.
- * a page of phyical memory has the same PCI address as CPU address.
+ * a page of physical memory has the same PCI address as CPU address.
  * There is no support for SGMAPs on the Jensen.  This means that for
  * ISA DMA, we must employ bounce buffers for DMA transactions over
  * 16MB ISA limit (due to ISA's 24-bit address space limitation).
@@ -47,7 +47,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: jensenio_dma.c,v 1.9 2021/07/04 22:42:35 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: jensenio_dma.c,v 1.10 2021/08/17 22:00:27 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/arch/amiga/amiga/amiga_init.c
--- a/sys/arch/amiga/amiga/amiga_init.c Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/arch/amiga/amiga/amiga_init.c Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amiga_init.c,v 1.130 2018/09/03 16:29:22 riastradh Exp $       */
+/*     $NetBSD: amiga_init.c,v 1.131 2021/08/17 22:00:27 andvar Exp $  */
 
 /*
  * Copyright (c) 1994 Michael L. Hitch
@@ -39,7 +39,7 @@
 #include "ser.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.130 2018/09/03 16:29:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.131 2021/08/17 22:00:27 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -364,7 +364,7 @@
        /*
         * assume KVA_MIN == 0.  We subtract the kernel code (and
         * the configdev's and memlists) from the virtual and
-        * phsical starts and ends.
+        * physical starts and ends.
         */
        vend   = fphysize;
        avail  = vend;
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/arch/amiga/dev/fd.c
--- a/sys/arch/amiga/dev/fd.c   Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/arch/amiga/dev/fd.c   Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.99 2021/08/07 16:18:41 thorpej Exp $ */
+/*     $NetBSD: fd.c,v 1.100 2021/08/17 22:00:27 andvar Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.99 2021/08/07 16:18:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.100 2021/08/17 22:00:27 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -152,9 +152,9 @@
        struct callout motor_ch;
        struct fdtype *type;
        void *cachep;           /* cached track data (write through) */
-       int cachetrk;           /* cahced track -1 for none */
+       int cachetrk;           /* cached track -1 for none */
        int hwunit;             /* unit for amiga controlling hw */
-       int unitmask;           /* mask for cia select deslect */
+       int unitmask;           /* mask for cia select deselect */
        int pstepdir;           /* previous step direction */
        int curcyl;             /* current curcyl head positioned on */
        int flags;              /* misc flags */
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/arch/amiga/dev/grfabs_cc.c
--- a/sys/arch/amiga/dev/grfabs_cc.c    Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/arch/amiga/dev/grfabs_cc.c    Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grfabs_cc.c,v 1.35 2011/07/08 09:42:16 mrg Exp $ */
+/*     $NetBSD: grfabs_cc.c,v 1.36 2021/08/17 22:00:27 andvar Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -38,7 +38,7 @@
 #include "opt_amigaccgrf.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grfabs_cc.c,v 1.35 2011/07/08 09:42:16 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grfabs_cc.c,v 1.36 2021/08/17 22:00:27 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -301,13 +301,13 @@
         * longwords. -ch */
 
        /* Sigh, it seems for mapping to work we need the bitplane data to 1:
-        * be aligned on a page boundry. 2: be n pages large.
+        * be aligned on a page boundary. 2: be n pages large.
         *
         * why? because the user gets a page aligned address, if this is before
         * your allocation, too bad.  Also it seems that the mapping routines
         * do not watch to closely to the allowable length. so if you go over
         * n pages by less than another page, the user gets to write all over
-        * the entire page.  Since you did not allocate up to a page boundry
+        * the entire page.  Since you did not allocate up to a page boundary
         * (or more) the user writes into someone elses memory. -ch */
 #ifdef __powerpc__
 #define m68k_round_page(x)     ((((unsigned)(x)) + PGOFSET) & ~PGOFSET)
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/arch/arm/footbridge/footbridge_machdep.c
--- a/sys/arch/arm/footbridge/footbridge_machdep.c      Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/arch/arm/footbridge/footbridge_machdep.c      Tue Aug 17 22:00:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: footbridge_machdep.c,v 1.10 2003/04/01 23:19:10 thorpej Exp $  */
+/*     $NetBSD: footbridge_machdep.c,v 1.11 2021/08/17 22:00:27 andvar Exp $   */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: footbridge_machdep.c,v 1.10 2003/04/01 23:19:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: footbridge_machdep.c,v 1.11 2021/08/17 22:00:27 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -49,9 +49,9 @@
  * virtual address space that NOTHING else will access
  * and then we alternate the cache cleaning between the
  * two banks.
- * The cache cleaning code requires requires 2 banks aligned
- * on total size boundry so the banks can be alternated by
- * eorring the size bit (assumes the bank size is a power of 2)
+ * The cache cleaning code requires 2 banks aligned
+ * on total size boundary so the banks can be alternated by
+ * xorring the size bit (assumes the bank size is a power of 2)
  *
  * On the DC21285 we have a special cache clean area so we will
  * use it.
diff -r 9a1174ad4621 -r 9ee931e2b654 sys/arch/arm/imx/imxspi.c
--- a/sys/arch/arm/imx/imxspi.c Tue Aug 17 21:39:32 2021 +0000
+++ b/sys/arch/arm/imx/imxspi.c Tue Aug 17 22:00:26 2021 +0000



Home | Main Index | Thread Index | Old Index