Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/acpitools/aml fix various typos in comments, mainly...



details:   https://anonhg.NetBSD.org/src/rev/d57b31f1ca9b
branches:  trunk
changeset: 990045:d57b31f1ca9b
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Oct 24 20:00:11 2021 +0000

description:
fix various typos in comments, mainly copypasta.

diffstat:

 sys/arch/hpcsh/dev/psh3lcd.c              |   4 ++--
 sys/arch/mvme68k/stand/netboot/if_iereg.h |   6 +++---
 sys/arch/sparc/dev/if_ie_obio.c           |   6 +++---
 sys/arch/sun2/dev/if_ie_mbmem.c           |  12 ++++++------
 sys/arch/sun2/dev/if_ie_obio.c            |   6 +++---
 sys/arch/sun3/dev/if_ie.c                 |   6 +++---
 sys/arch/sun3/dev/if_iereg.h              |   6 +++---
 sys/arch/sun3/dev/if_ievar.h              |   4 ++--
 sys/arch/sun3/dev/xdreg.h                 |  18 +++++++++---------
 sys/dev/ic/i82586.c                       |   6 +++---
 sys/dev/pci/mlyreg.h                      |   6 +++---
 sys/dev/vme/if_ie_vme.c                   |  12 ++++++------
 sys/dev/vme/xdreg.h                       |  18 +++++++++---------
 sys/netinet/sctp.h                        |   4 ++--
 usr.sbin/acpitools/aml/aml_parse.c        |   6 +++---
 15 files changed, 60 insertions(+), 60 deletions(-)

diffs (truncated from 516 to 300 lines):

diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/arch/hpcsh/dev/psh3lcd.c
--- a/sys/arch/hpcsh/dev/psh3lcd.c      Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/arch/hpcsh/dev/psh3lcd.c      Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psh3lcd.c,v 1.7 2013/11/09 02:54:11 christos Exp $     */
+/*     $NetBSD: psh3lcd.c,v 1.8 2021/10/24 20:00:11 andvar Exp $       */
 /*
  * Copyright (c) 2005 KIYOHARA Takashi
  * All rights reserved.
@@ -59,7 +59,7 @@
 #define PSH3LCD_CONTRAST_UD            0x01
 
 /*
- * LCD brightness: controled by HG71C105FE at AREA2.
+ * LCD brightness: controlled by HG71C105FE at AREA2.
  *     XXXX: That is custom IC. We don't know spec.  X-<
  */
 #define PSH3LCD_BRIGHTNESS_REG0                0xaa000072
diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/arch/mvme68k/stand/netboot/if_iereg.h
--- a/sys/arch/mvme68k/stand/netboot/if_iereg.h Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/arch/mvme68k/stand/netboot/if_iereg.h Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iereg.h,v 1.1 1996/05/17 21:18:29 chuck Exp $       */
+/*     $NetBSD: if_iereg.h,v 1.2 2021/10/24 20:00:11 andvar Exp $      */
 
 /*
  * if_sunie.h
@@ -68,7 +68,7 @@
  *
  *     note that the last entry of the page map maps the top of the
  *     24 bit address space and that the SCP is supposed to be at
- *     0xfffff4 (taking into account allignment).   so,
+ *     0xfffff4 (taking into account alignment).   so,
  *     for multibus, that entry in the page map has to be used for the SCP.
  *
  *     the page map effects BOTH how the ie chip sees the
@@ -99,7 +99,7 @@
  * PTE for the page map
  */
 #define IEVME_SBORDR 0x8000    /* sun byte order */
-#define IEVME_IBORDR 0x0000    /* intel byte ordr */
+#define IEVME_IBORDR 0x0000    /* intel byte order */
 
 #define IEVME_P2MEM  0x2000    /* memory is on P2 */
 #define IEVME_OBMEM  0x0000    /* memory is on board */
diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/arch/sparc/dev/if_ie_obio.c
--- a/sys/arch/sparc/dev/if_ie_obio.c   Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/arch/sparc/dev/if_ie_obio.c   Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ie_obio.c,v 1.42 2019/04/25 10:08:45 msaitoh Exp $  */
+/*     $NetBSD: if_ie_obio.c,v 1.43 2021/10/24 20:00:11 andvar Exp $   */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -68,12 +68,12 @@
  * sun-4/200's, and VME based suns.  The byte order is all wrong for a
  * SUN, making life difficult.  Programming this chip is mostly the same,
  * but certain details differ from system to system.  This driver is
- * written so that different "ie" interfaces can be controled by the same
+ * written so that different "ie" interfaces can be controlled by the same
  * driver.
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie_obio.c,v 1.42 2019/04/25 10:08:45 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie_obio.c,v 1.43 2021/10/24 20:00:11 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/arch/sun2/dev/if_ie_mbmem.c
--- a/sys/arch/sun2/dev/if_ie_mbmem.c   Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/arch/sun2/dev/if_ie_mbmem.c   Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ie_mbmem.c,v 1.12 2019/04/25 10:08:45 msaitoh Exp $ */
+/*     $NetBSD: if_ie_mbmem.c,v 1.13 2021/10/24 20:00:11 andvar Exp $  */
 
 /*
  * Copyright (c) 1995 Charles D. Cranor
@@ -35,7 +35,7 @@
  * sun-4/200's, and VME based suns.  The byte order is all wrong for a
  * SUN, making life difficult.  Programming this chip is mostly the same,
  * but certain details differ from system to system.  This driver is
- * written so that different "ie" interfaces can be controled by the same
+ * written so that different "ie" interfaces can be controlled by the same
  * driver.
  */
 
@@ -101,7 +101,7 @@
  *
  *     Note that the last entry of the page map maps the top of the
  *     24 bit address space and that the SCP is supposed to be at
- *     0xfffff4 (taking into account allignment).   so,
+ *     0xfffff4 (taking into account alignment).   so,
  *     for multibus, that entry in the page map has to be used for the SCP.
  *
  *     The page map effects BOTH how the ie chip sees the
@@ -112,7 +112,7 @@
  *     The page map to control where ram appears in the address space.
  *     We choose to have RAM start at 0 in the 24 bit address space.
  *
- *     to get the phyiscal address of the board's RAM you must take the
+ *     to get the physical address of the board's RAM you must take the
  *     top 12 bits of the physical address of the register address and
  *     or in the 4 bits from the status word as bits 17-20 (remember that
  *     the board ignores the chip's top 4 address lines). For example:
@@ -140,7 +140,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie_mbmem.c,v 1.12 2019/04/25 10:08:45 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie_mbmem.c,v 1.13 2021/10/24 20:00:11 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -178,7 +178,7 @@
  * PTE for the page map
  */
 #define IEMBMEM_SBORDR 0x8000  /* sun byte order */
-#define IEMBMEM_IBORDR 0x0000  /* intel byte ordr */
+#define IEMBMEM_IBORDR 0x0000  /* intel byte order */
 
 #define IEMBMEM_P2MEM  0x2000  /* memory is on P2 */
 #define IEMBMEM_OBMEM  0x0000  /* memory is on board */
diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/arch/sun2/dev/if_ie_obio.c
--- a/sys/arch/sun2/dev/if_ie_obio.c    Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/arch/sun2/dev/if_ie_obio.c    Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ie_obio.c,v 1.17 2019/04/25 10:08:45 msaitoh Exp $  */
+/*     $NetBSD: if_ie_obio.c,v 1.18 2021/10/24 20:00:11 andvar Exp $   */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -68,12 +68,12 @@
  * sun-4/200's, and VME based suns.  The byte order is all wrong for a
  * SUN, making life difficult.  Programming this chip is mostly the same,
  * but certain details differ from system to system.  This driver is
- * written so that different "ie" interfaces can be controled by the same
+ * written so that different "ie" interfaces can be controlled by the same
  * driver.
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie_obio.c,v 1.17 2019/04/25 10:08:45 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie_obio.c,v 1.18 2021/10/24 20:00:11 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/arch/sun3/dev/if_ie.c
--- a/sys/arch/sun3/dev/if_ie.c Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/arch/sun3/dev/if_ie.c Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ie.c,v 1.72 2020/03/19 14:06:32 thorpej Exp $ */
+/*     $NetBSD: if_ie.c,v 1.73 2021/10/24 20:00:11 andvar Exp $ */
 
 /*-
  * Copyright (c) 1993, 1994, 1995 Charles M. Hannum.
@@ -68,7 +68,7 @@
  * sun-4/200's, and VME based suns.  The byte order is all wrong for a
  * SUN, making life difficult.  Programming this chip is mostly the same,
  * but certain details differ from system to system.  This driver is
- * written so that different "ie" interfaces can be controled by the same
+ * written so that different "ie" interfaces can be controlled by the same
  * driver.
  */
 
@@ -98,7 +98,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.72 2020/03/19 14:06:32 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.73 2021/10/24 20:00:11 andvar Exp $");
 
 #include "opt_inet.h"
 #include "opt_ns.h"
diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/arch/sun3/dev/if_iereg.h
--- a/sys/arch/sun3/dev/if_iereg.h      Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/arch/sun3/dev/if_iereg.h      Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iereg.h,v 1.1 1994/12/12 18:59:09 gwr Exp $ */
+/*     $NetBSD: if_iereg.h,v 1.2 2021/10/24 20:00:11 andvar Exp $ */
 
 /*
  * if_sunie.h
@@ -68,7 +68,7 @@
  *
  *     note that the last entry of the page map maps the top of the
  *     24 bit address space and that the SCP is supposed to be at
- *     0xfffff4 (taking into account allignment).   so,
+ *     0xfffff4 (taking into account alignment).   so,
  *     for multibus, that entry in the page map has to be used for the SCP.
  *
  *     the page map effects BOTH how the ie chip sees the
@@ -99,7 +99,7 @@
  * PTE for the page map
  */
 #define IEVME_SBORDR 0x8000    /* sun byte order */
-#define IEVME_IBORDR 0x0000    /* intel byte ordr */
+#define IEVME_IBORDR 0x0000    /* intel byte order */
 
 #define IEVME_P2MEM  0x2000    /* memory is on P2 */
 #define IEVME_OBMEM  0x0000    /* memory is on board */
diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/arch/sun3/dev/if_ievar.h
--- a/sys/arch/sun3/dev/if_ievar.h      Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/arch/sun3/dev/if_ievar.h      Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ievar.h,v 1.16 2019/09/13 07:55:06 msaitoh Exp $    */
+/*     $NetBSD: if_ievar.h,v 1.17 2021/10/24 20:00:11 andvar Exp $     */
 
 /*
  * Machine-dependent glue for the Intel Ethernet (ie) driver.
@@ -35,7 +35,7 @@
  * on the vme/multibus we have the page map to control where ram appears
  * in the address space.   we choose to have RAM start at 0 in the
  * 24 bit address space.   this means that sc_iobase == sc_maddr!
- * to get the phyiscal address of the board's RAM you must take the
+ * to get the physical address of the board's RAM you must take the
  * top 12 bits of the physical address of the register address
  * and or in the 4 bits from the status word as bits 17-20 (remember that
  * the board ignores the chip's top 4 address lines).
diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/arch/sun3/dev/xdreg.h
--- a/sys/arch/sun3/dev/xdreg.h Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/arch/sun3/dev/xdreg.h Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xdreg.h,v 1.7 2011/02/01 20:19:32 chuck Exp $  */
+/*     $NetBSD: xdreg.h,v 1.8 2021/10/24 20:00:11 andvar Exp $ */
 
 /*
  * Copyright (c) 1995 Charles D. Cranor
@@ -74,7 +74,7 @@
  * the driver in case it ever gets ported to an environment that needs it.
  */
 
-#define XDC_ADDRMOD   0x3d    /* standard address modifer, 24 bit max */
+#define XDC_ADDRMOD   0x3d    /* standard address modifier, 24 bit max */
 #define XDC_ADDRMOD32 0x0d    /* 32 bit version above */
 
 /*
@@ -182,7 +182,7 @@
                                  /* section 4.1.13: byte e */
   volatile u_char addrmod;       /* addr modifier (bits 7,6 must be zero) */
                                  /* section 4.1.14: byte f */
-  volatile u_char naddrmod;      /* next (in chain) address iobp ad. modifer */
+  volatile u_char naddrmod;      /* next (in chain) address iobp ad. modifier */
                                  /* section 4.1.15: bytes 0x10 to 0x13 */
   volatile u_long daddr;         /* DMA data address */
                                  /* section 4.1.16: bytes 0x14 to 0x17 */
@@ -200,7 +200,7 @@
  * these commands include: 
  *   section 4.2: controller parameters
  *   section 4.3: drive parameters 
- *   sectino 4.4: format parameters
+ *   section 4.4: format parameters
  *
  * note that the commands that overload the iopb are not part of the
  * "critical data path" of the driver.   so, we handle them by defining
@@ -236,7 +236,7 @@
                                  /* section 4.2.3: byte a */
   volatile u_char param_c;       /* param C (see below) */
 #define XDPC_OVS  0x80           /* over-lapped seek */
-#define XDPC_COP  0x40           /* command optimiziation (elevator alg.) */
+#define XDPC_COP  0x40           /* command optimization (elevator alg.) */
 #define XDPC_ASR  0x10           /* auto-seek retry */
 #define XDPC_RBC  0x04           /* retry before correction if ECC error */
 #define XDPC_ECCM 0x03           /* ECC mode (0, 1, and 2) */
@@ -309,7 +309,7 @@
  */
 
 struct xd_iopb_format {
-  volatile u_char same[6];       /* smae as xd_iopb */
+  volatile u_char same[6];       /* same as xd_iopb */
                                  /* section 4.4.1: byte 6 */
   volatile u_char interleave_ipl;/* (interleave << 4) | interrupt level */
                                  /* interleave ratio 1:1 to 16:1 */
@@ -371,7 +371,7 @@
 #define XD_ERR_IF7  0x1b         /* illegal field 7 */
 #define XD_ERR_ISG  0x1c         /* illegal scatter/gather */
 #define XD_ERR_ISPT 0x1d         /* not enough sectors per track */
-#define XD_ERR_ALGN 0x1e         /* next iopb allignment error */
+#define XD_ERR_ALGN 0x1e         /* next iopb alignment error */
 #define XD_ERR_SGAL 0x1f         /* scatter gather address alignment error */
 #define XD_ERR_SGEC 0x20         /* scatter gather with auto ECC */
 /* successfully recovered soft errors */
@@ -410,9 +410,9 @@
 #define XD_ERR_MT6  0xe6         /* maint test 6 failed (REGCEL chip) */
 #define XD_ERR_MT7  0xe7         /* maint test 7 failed (buff. parity) */
 #define XD_ERR_MT8  0xe8         /* maint test 8 failed (fifo) */
-#define XD_ERR_IOCK 0xf0         /* iopb checksume miscompare */
+#define XD_ERR_IOCK 0xf0         /* iopb checksum miscompare */
 #define XD_ERR_IODM 0xf1         /* iopb DMA fatal */
-#define XD_ERR_IOAL 0xf2         /* iopb allignment error */
+#define XD_ERR_IOAL 0xf2         /* iopb alignment error */
 #define XD_ERR_FIRM 0xf3         /* firmware error n*/
 #define XD_ERR_MMOD 0xf5         /* illegal maint mode test number */
 #define XD_ERR_ACFL 0xf6         /* ACFAIL asserted */
diff -r eb7ecfb40bb6 -r d57b31f1ca9b sys/dev/ic/i82586.c
--- a/sys/dev/ic/i82586.c       Sun Oct 24 19:33:26 2021 +0000
+++ b/sys/dev/ic/i82586.c       Sun Oct 24 20:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82586.c,v 1.89 2020/03/19 14:10:56 thorpej Exp $      */
+/*     $NetBSD: i82586.c,v 1.90 2021/10/24 20:00:11 andvar Exp $       */



Home | Main Index | Thread Index | Old Index