Source-Changes-HG archive

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

[src/trunk]: src fix various typos in comments and messages.



details:   https://anonhg.NetBSD.org/src/rev/aed2e3576bbe
branches:  trunk
changeset: 376172:aed2e3576bbe
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat Jun 03 20:41:44 2023 +0000

description:
fix various typos in comments and messages.

diffstat:

 lib/librumpuser/build-aux/depcomp    |  2 +-
 sys/arch/ia64/include/elf_machdep.h  |  4 ++--
 sys/arch/ia64/stand/ia64/efi/start.S |  4 ++--
 sys/dev/ic/dwc_eqos.c                |  8 ++++----
 sys/dev/mii/bmtphyreg.h              |  4 ++--
 sys/fs/udf/udf_subr.c                |  6 +++---
 6 files changed, 14 insertions(+), 14 deletions(-)

diffs (129 lines):

diff -r 899da4cfd0ed -r aed2e3576bbe lib/librumpuser/build-aux/depcomp
--- a/lib/librumpuser/build-aux/depcomp Sat Jun 03 20:40:28 2023 +0000
+++ b/lib/librumpuser/build-aux/depcomp Sat Jun 03 20:41:44 2023 +0000
@@ -198,7 +198,7 @@ gcc3)
   ;;
 
 gcc)
-## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
+## Note that this doesn't just cater to obsolete pre-3.x GCC compilers.
 ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
 ## (see the conditional assignment to $gccflag above).
 ## There are various ways to get dependency output from gcc.  Here's
diff -r 899da4cfd0ed -r aed2e3576bbe sys/arch/ia64/include/elf_machdep.h
--- a/sys/arch/ia64/include/elf_machdep.h       Sat Jun 03 20:40:28 2023 +0000
+++ b/sys/arch/ia64/include/elf_machdep.h       Sat Jun 03 20:41:44 2023 +0000
@@ -1,4 +1,4 @@
-/*        $NetBSD: elf_machdep.h,v 1.4 2019/04/11 14:38:06 kamil Exp $ */
+/*        $NetBSD: elf_machdep.h,v 1.5 2023/06/03 20:41:44 andvar Exp $        */
 
 /*-
  * Copyright (c) 1996-1997 John D. Polstra.
@@ -102,7 +102,7 @@
 #define        R_IA64_LTV64MSB         0x76    /* word64 MSB   S + A */
 #define        R_IA64_LTV64LSB         0x77    /* word64 LSB   S + A */
 #define        R_IA64_IPLTMSB          0x80    /* function descriptor MSB special */
-#define        R_IA64_IPLTLSB          0x81    /* function descriptor LSB speciaal */
+#define        R_IA64_IPLTLSB          0x81    /* function descriptor LSB special */
 #define        R_IA64_SUB              0x85    /* immediate64  A - S */
 #define        R_IA64_LTOFF22X         0x86    /* immediate22  special */
 #define        R_IA64_LDXMOV           0x87    /* immediate22  special */
diff -r 899da4cfd0ed -r aed2e3576bbe sys/arch/ia64/stand/ia64/efi/start.S
--- a/sys/arch/ia64/stand/ia64/efi/start.S      Sat Jun 03 20:40:28 2023 +0000
+++ b/sys/arch/ia64/stand/ia64/efi/start.S      Sat Jun 03 20:41:44 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: start.S,v 1.2 2006/04/22 07:58:53 cherry Exp $ */
+*      $NetBSD: start.S,v 1.3 2023/06/03 20:41:45 andvar Exp $ */
        
 /*-
  * Copyright (c) 2001 Doug Rabson
@@ -74,7 +74,7 @@
 #define R_IA64_REL64MSB                0x6e    /* word64 MSB   BD + A */
 #define R_IA64_REL32LSB                0x6d    /* word32 LSB   BD + A */
 #define R_IA64_REL64LSB                0x6f    /* word64 LSB   BD + A */
-#define        R_IA64_IPLTLSB          0x81    /* function descriptor LSB speciaal */
+#define        R_IA64_IPLTLSB          0x81    /* function descriptor LSB special */
 
 ENTRY(_start, 2)
        alloc   loc0=ar.pfs,2,3,3,0
diff -r 899da4cfd0ed -r aed2e3576bbe sys/dev/ic/dwc_eqos.c
--- a/sys/dev/ic/dwc_eqos.c     Sat Jun 03 20:40:28 2023 +0000
+++ b/sys/dev/ic/dwc_eqos.c     Sat Jun 03 20:41:44 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_eqos.c,v 1.16 2022/09/18 18:20:31 thorpej Exp $ */
+/* $NetBSD: dwc_eqos.c,v 1.17 2023/06/03 20:41:45 andvar Exp $ */
 
 /*-
  * Copyright (c) 2022 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -33,7 +33,7 @@
 #include "opt_net_mpsafe.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc_eqos.c,v 1.16 2022/09/18 18:20:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc_eqos.c,v 1.17 2023/06/03 20:41:45 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -540,7 +540,7 @@ eqos_init_rings(struct eqos_softc *sc, i
        WR4(sc, GMAC_DMA_CHAN0_TX_BASE_ADDR,
            (uint32_t)sc->sc_tx.desc_ring_paddr);
        WR4(sc, GMAC_DMA_CHAN0_TX_RING_LEN, TX_DESC_COUNT - 1);
-       DPRINTF(EDEB_TXRING, "tx ring paddr %lx with %u decriptors\n",
+       DPRINTF(EDEB_TXRING, "tx ring paddr %lx with %u descriptors\n",
            sc->sc_tx.desc_ring_paddr, TX_DESC_COUNT);
 
        sc->sc_rx.cur = sc->sc_rx.next = sc->sc_rx.queued = 0;
@@ -552,7 +552,7 @@ eqos_init_rings(struct eqos_softc *sc, i
        WR4(sc, GMAC_DMA_CHAN0_RX_END_ADDR,
            (uint32_t)sc->sc_rx.desc_ring_paddr +
            DESC_OFF((sc->sc_rx.cur - 1) % RX_DESC_COUNT));
-       DPRINTF(EDEB_RXRING, "rx ring paddr %lx with %u decriptors\n",
+       DPRINTF(EDEB_RXRING, "rx ring paddr %lx with %u descriptors\n",
            sc->sc_rx.desc_ring_paddr, RX_DESC_COUNT);
 }
 
diff -r 899da4cfd0ed -r aed2e3576bbe sys/dev/mii/bmtphyreg.h
--- a/sys/dev/mii/bmtphyreg.h   Sat Jun 03 20:40:28 2023 +0000
+++ b/sys/dev/mii/bmtphyreg.h   Sat Jun 03 20:41:44 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bmtphyreg.h,v 1.2 2008/04/28 20:23:53 martin Exp $     */
+/*     $NetBSD: bmtphyreg.h,v 1.3 2023/06/03 20:41:45 andvar Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
 #define        INTR_INTR_STATUS        0x0001  /* interrupt status */
 
 
-#define        MII_BMTPHY_AUX2         0x1b    /* auliliary mode 2 */
+#define        MII_BMTPHY_AUX2         0x1b    /* auxiliary mode 2 */
 #define        AUX2_BLOCK_RXDV         0x0200  /* block RXDV mode enabled */
 #define        AUX2_ANPDQ              0x0100  /* auto-neg parallel detection Q mode */
 #define        AUX2_TRAFFIC_LED        0x0040  /* traffic meter led enable */
diff -r 899da4cfd0ed -r aed2e3576bbe sys/fs/udf/udf_subr.c
--- a/sys/fs/udf/udf_subr.c     Sat Jun 03 20:40:28 2023 +0000
+++ b/sys/fs/udf/udf_subr.c     Sat Jun 03 20:41:44 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.173 2023/04/03 18:03:24 gutteridge Exp $ */
+/* $NetBSD: udf_subr.c,v 1.174 2023/06/03 20:41:45 andvar Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.173 2023/04/03 18:03:24 gutteridge Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.174 2023/06/03 20:41:45 andvar Exp $");
 #endif /* not lint */
 
 
@@ -5344,7 +5344,7 @@ error_out:
  *
  * Since the size of the space reserved for allocation descriptors is limited,
  * there is a mechanim provided for extending this space; this is done by a
- * special extent to allow schrinking of the allocations without breaking the
+ * special extent to allow shrinking of the allocations without breaking the
  * linkage to the allocation extent descriptor.
  */
 



Home | Main Index | Thread Index | Old Index