Source-Changes-HG archive

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

[src/trunk]: src/sys/kern fix typos in word "segment" and two additional typo...



details:   https://anonhg.NetBSD.org/src/rev/6ca210b1d248
branches:  trunk
changeset: 1023417:6ca210b1d248
user:      andvar <andvar%NetBSD.org@localhost>
date:      Mon Sep 06 20:55:08 2021 +0000

description:
fix typos in word "segment" and two additional typos in if_tl.c.

diffstat:

 sys/arch/hp300/dev/dma.c |  6 +++---
 sys/dev/pci/if_tl.c      |  8 ++++----
 sys/kern/subr_physmap.c  |  6 +++---
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs (90 lines):

diff -r 3f9e2ba00d3c -r 6ca210b1d248 sys/arch/hp300/dev/dma.c
--- a/sys/arch/hp300/dev/dma.c  Mon Sep 06 19:38:30 2021 +0000
+++ b/sys/arch/hp300/dev/dma.c  Mon Sep 06 20:55:08 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dma.c,v 1.43 2010/06/06 04:50:06 mrg Exp $     */
+/*     $NetBSD: dma.c,v 1.44 2021/09/06 20:55:08 andvar Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 #include "opt_m68k_arch.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.43 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.44 2021/09/06 20:55:08 andvar Exp $");
 
 #include <machine/hp300spu.h>  /* XXX param.h includes cpu.h */
 
@@ -609,7 +609,7 @@
                        printf("dma channel %d: intr when armed\n", i);
 #endif
                /*
-                * Load the next segemnt, or finish up if we're done.
+                * Load the next segment, or finish up if we're done.
                 */
                dc->dm_cur++;
                if (dc->dm_cur <= dc->dm_last) {
diff -r 3f9e2ba00d3c -r 6ca210b1d248 sys/dev/pci/if_tl.c
--- a/sys/dev/pci/if_tl.c       Mon Sep 06 19:38:30 2021 +0000
+++ b/sys/dev/pci/if_tl.c       Mon Sep 06 20:55:08 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tl.c,v 1.122 2020/07/07 06:27:37 msaitoh Exp $      */
+/*     $NetBSD: if_tl.c,v 1.123 2021/09/06 20:55:08 andvar Exp $       */
 
 /*
  * Copyright (c) 1997 Manuel Bouyer.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.122 2020/07/07 06:27:37 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.123 2021/09/06 20:55:08 andvar Exp $");
 
 #undef TLDEBUG
 #define TL_PRIV_STATS
@@ -1281,7 +1281,7 @@
                 if (error == 0)
                        bus_dmamap_unload(sc->tl_dmatag, Tx->m_dmamap);
                 if (again) {
-                       /* already copyed, can't do much more */
+                       /* already copied, can't do much more */
                        m_freem(mb_head);
                        goto bad;
                }
@@ -1327,7 +1327,7 @@
        if (size < ETHER_MIN_TX) {
 #ifdef DIAGNOSTIC
                if (segment >= TL_NSEG) {
-                       panic("%s: to much segmets (%d)", __func__, segment);
+                       panic("%s: too much segments (%d)", __func__, segment);
                }
 #endif
                /*
diff -r 3f9e2ba00d3c -r 6ca210b1d248 sys/kern/subr_physmap.c
--- a/sys/kern/subr_physmap.c   Mon Sep 06 19:38:30 2021 +0000
+++ b/sys/kern/subr_physmap.c   Mon Sep 06 20:55:08 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_physmap.c,v 1.4 2020/09/06 15:27:22 riastradh Exp $       */
+/*     $NetBSD: subr_physmap.c,v 1.5 2021/09/06 20:55:08 andvar Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: subr_physmap.c,v 1.4 2020/09/06 15:27:22 riastradh Exp $");
+__KERNEL_RCSID(1, "$NetBSD: subr_physmap.c,v 1.5 2021/09/06 20:55:08 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/physmap.h>
@@ -206,7 +206,7 @@
                if (curaddr != lastaddr) {
                        /*
                         * If the addresses are not the same, we need to use
-                        * a new segemnt.  Set its address and update lastaddr.
+                        * a new segment.  Set its address and update lastaddr.
                         */
                        ps++;
                        ps->ps_addr = curaddr;



Home | Main Index | Thread Index | Old Index