Source-Changes-HG archive

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

[src/trunk]: src/sys/netbt s/hander/handler/ and s/hader/header/ in comments ...



details:   https://anonhg.NetBSD.org/src/rev/521bfa489197
branches:  trunk
changeset: 363490:521bfa489197
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Mar 13 17:50:54 2022 +0000

description:
s/hander/handler/ and s/hader/header/ in comments and documentation.

diffstat:

 lib/libc/sys/sa_enable.2                     |  4 ++--
 lib/libc/sys/sa_yield.2                      |  4 ++--
 sys/arch/atari/atari/machdep.c               |  6 +++---
 sys/arch/mips/mips/cache.c                   |  6 +++---
 sys/arch/mips/mips/locore_mips1.S            |  6 +++---
 sys/arch/mips/mips/mipsX_subr.S              |  6 +++---
 sys/arch/mips/mips/trap.c                    |  6 +++---
 sys/arch/powerpc/powerpc/compat_13_machdep.c |  6 +++---
 sys/arch/powerpc/powerpc/compat_16_machdep.c |  6 +++---
 sys/dev/marvell/if_mvxpevar.h                |  6 +++---
 sys/dev/marvell/mvxpbmvar.h                  |  4 ++--
 sys/netbt/l2cap_signal.c                     |  6 +++---
 12 files changed, 33 insertions(+), 33 deletions(-)

diffs (290 lines):

diff -r b0d6e01d85df -r 521bfa489197 lib/libc/sys/sa_enable.2
--- a/lib/libc/sys/sa_enable.2  Sun Mar 13 17:21:29 2022 +0000
+++ b/lib/libc/sys/sa_enable.2  Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: sa_enable.2,v 1.4 2004/03/14 23:05:09 yamt Exp $
+.\"     $NetBSD: sa_enable.2,v 1.5 2022/03/13 17:50:54 andvar Exp $
 .\"
 .\" Copyright (c)2004 YAMAMOTO Takashi,
 .\" All rights reserved.
@@ -54,7 +54,7 @@
 On success,
 .Fn sa_enable
 will not return to userland in the normal way.
-It returns into the upcall hander with an
+It returns into the upcall handler with an
 .Dv SA_UPCALL_NEWPROC
 upcall.
 Otherwise, a value of \-1 is returned and
diff -r b0d6e01d85df -r 521bfa489197 lib/libc/sys/sa_yield.2
--- a/lib/libc/sys/sa_yield.2   Sun Mar 13 17:21:29 2022 +0000
+++ b/lib/libc/sys/sa_yield.2   Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: sa_yield.2,v 1.4 2004/05/09 11:28:58 yamt Exp $
+.\"     $NetBSD: sa_yield.2,v 1.5 2022/03/13 17:50:54 andvar Exp $
 .\"
 .\" Copyright (c)2004 YAMAMOTO Takashi,
 .\" All rights reserved.
@@ -54,7 +54,7 @@
 On success,
 .Fn sa_yield
 will not return to userland in the normal way.
-It returns into an upcall hander with an upcall.
+It returns into an upcall handler with an upcall.
 Otherwise, a value of \-1 is returned and
 .Va errno
 is set to indicate the error.
diff -r b0d6e01d85df -r 521bfa489197 sys/arch/atari/atari/machdep.c
--- a/sys/arch/atari/atari/machdep.c    Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/arch/atari/atari/machdep.c    Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.185 2021/10/09 20:00:41 tsutsui Exp $    */
+/*     $NetBSD: machdep.c,v 1.186 2022/03/13 17:50:55 andvar Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.185 2021/10/09 20:00:41 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.186 2022/03/13 17:50:55 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -656,7 +656,7 @@
         * happen immediately, or after returning to a safe enough level.
         *
         * XXX:
-        * According to <machine/scu.h> and lev1intr() hander in locore.s,
+        * According to <machine/scu.h> and lev1intr() handler in locore.s,
         * at least _ATARIHW_ machines (ATARITT and HADES?) seem to have
         * some hardware support which can initiate real hardware interrupt
         * at ipl 1 for software interrupt. But as per <machine/mtpr.h>,
diff -r b0d6e01d85df -r 521bfa489197 sys/arch/mips/mips/cache.c
--- a/sys/arch/mips/mips/cache.c        Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/arch/mips/mips/cache.c        Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cache.c,v 1.68 2020/08/02 06:51:47 skrll Exp $ */
+/*     $NetBSD: cache.c,v 1.69 2022/03/13 17:50:55 andvar Exp $        */
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.68 2020/08/02 06:51:47 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.69 2022/03/13 17:50:55 andvar Exp $");
 
 #include "opt_cputype.h"
 #include "opt_mips_cache.h"
@@ -711,7 +711,7 @@
                 * virtual alias on its 8KB or 16KB primary cache
                 * which has only 1 or 2 bit valid PIdx in 4KB page.
                 * Actual primary cache size is ignored wrt VCE
-                * and virtual aliases are resolved by the VCE hander,
+                * and virtual aliases are resolved by the VCE handler,
                 * but it's still worth to avoid unnecessary VCE by
                 * setting alias mask and prefer mask to 32K, though
                 * some other possible aliases (maybe caused by KSEG0
diff -r b0d6e01d85df -r 521bfa489197 sys/arch/mips/mips/locore_mips1.S
--- a/sys/arch/mips/mips/locore_mips1.S Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/arch/mips/mips/locore_mips1.S Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore_mips1.S,v 1.96 2021/09/19 10:34:09 andvar Exp $ */
+/*     $NetBSD: locore_mips1.S,v 1.97 2022/03/13 17:50:55 andvar Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -57,7 +57,7 @@
 #include <mips/asm.h>
 #include <mips/cpuregs.h>
 
-RCSID("$NetBSD: locore_mips1.S,v 1.96 2021/09/19 10:34:09 andvar Exp $")
+RCSID("$NetBSD: locore_mips1.S,v 1.97 2022/03/13 17:50:55 andvar Exp $")
 
 #include "assym.h"
 
@@ -1086,7 +1086,7 @@
 #endif
 
 /*
- * Mark where code entreed from exception hander jumptable
+ * Mark where code entreed from exception handler jumptable
  * ends, for stack traceback code.
  */
 
diff -r b0d6e01d85df -r 521bfa489197 sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S   Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S   Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mipsX_subr.S,v 1.113 2021/02/16 06:06:58 simonb Exp $  */
+/*     $NetBSD: mipsX_subr.S,v 1.114 2022/03/13 17:50:55 andvar Exp $  */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -117,7 +117,7 @@
  */
 
 #include <mips/asm.h>
-RCSID("$NetBSD: mipsX_subr.S,v 1.113 2021/02/16 06:06:58 simonb Exp $")
+RCSID("$NetBSD: mipsX_subr.S,v 1.114 2022/03/13 17:50:55 andvar Exp $")
 
 #include "opt_cputype.h"
 #include "opt_ddb.h"
@@ -2009,7 +2009,7 @@
 #endif /* (PGSHIFT & 1) == 0 */
 
 /*
- * Mark where code entered from exception hander jumptable
+ * Mark where code entered from exception handler jumptable
  * ends, for stack traceback code.
  */
 
diff -r b0d6e01d85df -r 521bfa489197 sys/arch/mips/mips/trap.c
--- a/sys/arch/mips/mips/trap.c Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/arch/mips/mips/trap.c Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.261 2021/04/07 02:59:01 simonb Exp $        */
+/*     $NetBSD: trap.c,v 1.262 2022/03/13 17:50:55 andvar Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.261 2021/04/07 02:59:01 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.262 2022/03/13 17:50:55 andvar Exp $");
 
 #include "opt_cputype.h"       /* which mips CPU levels do we support? */
 #include "opt_ddb.h"
@@ -347,7 +347,7 @@
                         * Since we don't block interrupts here,
                         * this can legitimately happen if we get
                         * a TLB miss that's serviced in an interrupt
-                        * hander that happens to randomly evict the
+                        * handler that happens to randomly evict the
                         * TLB entry we're concerned about.
                         */
                        printf("pmap_tlb_update_addr(%p,%#"
diff -r b0d6e01d85df -r 521bfa489197 sys/arch/powerpc/powerpc/compat_13_machdep.c
--- a/sys/arch/powerpc/powerpc/compat_13_machdep.c      Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/arch/powerpc/powerpc/compat_13_machdep.c      Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_13_machdep.c,v 1.21 2011/12/13 11:03:52 kiyohara Exp $  */
+/*     $NetBSD: compat_13_machdep.c,v 1.22 2022/03/13 17:50:55 andvar Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.21 2011/12/13 11:03:52 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.22 2022/03/13 17:50:55 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ppcarch.h"
@@ -69,7 +69,7 @@
        /*
         * The trampoline hands us the context.
         * It is unsafe to keep track of it ourselves, in the event that a
-        * program jumps out of a signal hander.
+        * program jumps out of a signal handler.
         */
        if ((error = copyin(SCARG(uap, sigcntxp), &sc, sizeof sc)) != 0)
                return (error);
diff -r b0d6e01d85df -r 521bfa489197 sys/arch/powerpc/powerpc/compat_16_machdep.c
--- a/sys/arch/powerpc/powerpc/compat_16_machdep.c      Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/arch/powerpc/powerpc/compat_16_machdep.c      Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_16_machdep.c,v 1.22 2021/10/30 19:44:56 thorpej Exp $   */
+/*     $NetBSD: compat_16_machdep.c,v 1.23 2022/03/13 17:50:55 andvar Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.22 2021/10/30 19:44:56 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.23 2022/03/13 17:50:55 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_altivec.h"
@@ -198,7 +198,7 @@
        /*
         * The trampoline hands us the context.
         * It is unsafe to keep track of it ourselves, in the event that a
-        * program jumps out of a signal hander.
+        * program jumps out of a signal handler.
         */
        if ((error = copyin(SCARG(uap, sigcntxp), &sc, sizeof sc)) != 0)
                return (error);
diff -r b0d6e01d85df -r 521bfa489197 sys/dev/marvell/if_mvxpevar.h
--- a/sys/dev/marvell/if_mvxpevar.h     Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/dev/marvell/if_mvxpevar.h     Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_mvxpevar.h,v 1.7 2022/02/16 22:00:56 andvar Exp $   */
+/*     $NetBSD: if_mvxpevar.h,v 1.8 2022/03/13 17:50:55 andvar Exp $   */
 /*
  * Copyright (c) 2015 Internet Initiative Japan Inc.
  * All rights reserved.
@@ -393,8 +393,8 @@
 
        /*
         * sc_mtx must be held by interface functions to/from
-        * other frameworks. interrupt hander, sysctl hander,
-        * ioctl hander, and so on.
+        * other frameworks. interrupt handler, sysctl handler,
+        * ioctl handler, and so on.
         */
        kmutex_t sc_mtx;
 
diff -r b0d6e01d85df -r 521bfa489197 sys/dev/marvell/mvxpbmvar.h
--- a/sys/dev/marvell/mvxpbmvar.h       Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/dev/marvell/mvxpbmvar.h       Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvxpbmvar.h,v 1.3 2021/09/11 21:30:46 andvar Exp $     */
+/*     $NetBSD: mvxpbmvar.h,v 1.4 2022/03/13 17:50:55 andvar Exp $     */
 /*
  * Copyright (c) 2015 Internet Initiative Japan Inc.
  * All rights reserved.
@@ -100,7 +100,7 @@
        size_t          sc_slotsize;            /* size of bm_slots include header */
        uint32_t        sc_chunk_count;         /* number of chunks */
        size_t          sc_chunk_size;          /* size of packet buffer */
-       size_t          sc_chunk_header_size;   /* size of hader + padding */ 
+       size_t          sc_chunk_header_size;   /* size of header + padding */ 
        off_t           sc_chunk_packet_offset; /* allocate m_leading_space */
 
        /* for software based management */
diff -r b0d6e01d85df -r 521bfa489197 sys/netbt/l2cap_signal.c
--- a/sys/netbt/l2cap_signal.c  Sun Mar 13 17:21:29 2022 +0000
+++ b/sys/netbt/l2cap_signal.c  Sun Mar 13 17:50:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: l2cap_signal.c,v 1.20 2020/02/29 11:40:06 maxv Exp $   */
+/*     $NetBSD: l2cap_signal.c,v 1.21 2022/03/13 17:50:55 andvar Exp $ */
 
 /*-
  * Copyright (c) 2005 Iain Hibbert.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: l2cap_signal.c,v 1.20 2020/02/29 11:40:06 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: l2cap_signal.c,v 1.21 2022/03/13 17:50:55 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -64,7 +64,7 @@
 
 /*
  * process incoming signal packets (CID 0x0001). Can contain multiple
- * requests/responses. The signal hander should clear the command from
+ * requests/responses. The signal handler should clear the command from
  * the mbuf before returning.
  */
 void



Home | Main Index | Thread Index | Old Index