Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet fix various typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/65c513b3557e
branches:  trunk
changeset: 1023419:65c513b3557e
user:      andvar <andvar%NetBSD.org@localhost>
date:      Mon Sep 06 21:56:03 2021 +0000

description:
fix various typos in comments.

diffstat:

 sys/arch/hppa/hppa/kgdb_hppa.c  |  6 +++---
 sys/arch/hppa/hppa/trap.S       |  4 ++--
 sys/arch/hppa/include/trap.h    |  4 ++--
 sys/arch/sparc/include/ctlreg.h |  4 ++--
 sys/dev/ic/isp.c                |  6 +++---
 sys/dev/pci/neo.c               |  8 ++++----
 sys/netinet/sctp.h              |  6 +++---
 7 files changed, 19 insertions(+), 19 deletions(-)

diffs (165 lines):

diff -r 047b40d4ac53 -r 65c513b3557e sys/arch/hppa/hppa/kgdb_hppa.c
--- a/sys/arch/hppa/hppa/kgdb_hppa.c    Mon Sep 06 21:18:55 2021 +0000
+++ b/sys/arch/hppa/hppa/kgdb_hppa.c    Mon Sep 06 21:56:03 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kgdb_hppa.c,v 1.9 2019/04/15 20:45:08 skrll Exp $      */
+/*     $NetBSD: kgdb_hppa.c,v 1.10 2021/09/06 21:56:03 andvar Exp $    */
 
 /*
  * Copyright (c) 1990, 1993
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kgdb_hppa.c,v 1.9 2019/04/15 20:45:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kgdb_hppa.c,v 1.10 2021/09/06 21:56:03 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/kgdb.h>
@@ -121,7 +121,7 @@
        case T_EXCEPTION:       /* assist exception */
        case T_TLB_DIRTY:       /* TLB dirty bit */
        case T_PAGEREF:         /* page reference */
-       case T_HIGHERPL:        /* higher-privelege transfer */
+       case T_HIGHERPL:        /* higher-privilege transfer */
        case T_LOWERPL:         /* lower-privilege transfer */
 #endif
        default:
diff -r 047b40d4ac53 -r 65c513b3557e sys/arch/hppa/hppa/trap.S
--- a/sys/arch/hppa/hppa/trap.S Mon Sep 06 21:18:55 2021 +0000
+++ b/sys/arch/hppa/hppa/trap.S Mon Sep 06 21:56:03 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.S,v 1.73 2020/09/14 16:11:00 skrll Exp $  */
+/*     $NetBSD: trap.S,v 1.74 2021/09/06 21:56:03 andvar Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -662,7 +662,7 @@
        STRAP(tlbd,T_TLB_DIRTY,DTLBPRE) /* 20. TLB dirty bit trap */
        ATRAP(pgref,T_PAGEREF)          /* 21. page reference trap */
        CTRAP(emu,T_EMULATION,)         /* 22. assist emulation trap */
-       ATRAP(hpl,T_HIGHERPL)           /* 23. higher-privelege transfer trap*/
+       ATRAP(hpl,T_HIGHERPL)           /* 23. higher-privilege transfer trap*/
        ATRAP(lpl,T_LOWERPL)            /* 24. lower-privilege transfer trap */
        ATRAP(tknbr,T_TAKENBR)          /* 25. taken branch trap */
        ATRAP(dacc,T_DATACC)            /* 26. data access rights trap */
diff -r 047b40d4ac53 -r 65c513b3557e sys/arch/hppa/include/trap.h
--- a/sys/arch/hppa/include/trap.h      Mon Sep 06 21:18:55 2021 +0000
+++ b/sys/arch/hppa/include/trap.h      Mon Sep 06 21:56:03 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.h,v 1.4 2010/01/16 10:06:31 skrll Exp $   */
+/*     $NetBSD: trap.h,v 1.5 2021/09/06 21:56:03 andvar Exp $  */
 
 /*     $OpenBSD: trap.h,v 1.8 2000/02/10 20:05:39 mickey Exp $ */
 
@@ -57,7 +57,7 @@
 #define        T_TLB_DIRTY     20      /* TLB dirty bit */
 #define        T_PAGEREF       21      /* page reference */
 #define        T_EMULATION     22      /* assist emulation */
-#define        T_HIGHERPL      23      /* higher-privelege transfer */
+#define        T_HIGHERPL      23      /* higher-privilege transfer */
 #define        T_LOWERPL       24      /* lower-privilege transfer */
 #define        T_TAKENBR       25      /* taken branch */
 #define        T_DATACC        26      /* data access rights >=7100 */
diff -r 047b40d4ac53 -r 65c513b3557e sys/arch/sparc/include/ctlreg.h
--- a/sys/arch/sparc/include/ctlreg.h   Mon Sep 06 21:18:55 2021 +0000
+++ b/sys/arch/sparc/include/ctlreg.h   Mon Sep 06 21:56:03 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ctlreg.h,v 1.30 2019/08/29 05:55:18 msaitoh Exp $ */
+/*     $NetBSD: ctlreg.h,v 1.31 2021/09/06 21:56:03 andvar Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -382,7 +382,7 @@
 #define SFSR_FT_NONE           (0 << 2)        /* no fault */
 #define SFSR_FT_INVADDR                (1 << 2)        /* invalid address fault */
 #define SFSR_FT_PROTERR                (2 << 2)        /* protection fault */
-#define SFSR_FT_PRIVERR                (3 << 2)        /* privelege violation */
+#define SFSR_FT_PRIVERR                (3 << 2)        /* privilege violation */
 #define SFSR_FT_TRANSERR       (4 << 2)        /* translation fault */
 #define SFSR_FT_BUSERR         (5 << 2)        /* access bus error */
 #define SFSR_FT_INTERR         (6 << 2)        /* internal error */
diff -r 047b40d4ac53 -r 65c513b3557e sys/dev/ic/isp.c
--- a/sys/dev/ic/isp.c  Mon Sep 06 21:18:55 2021 +0000
+++ b/sys/dev/ic/isp.c  Mon Sep 06 21:56:03 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp.c,v 1.127 2018/02/08 09:05:19 dholland Exp $ */
+/* $NetBSD: isp.c,v 1.128 2021/09/06 21:56:04 andvar Exp $ */
 /*
  * Machine and OS Independent (well, as best as possible)
  * code for the Qlogic ISP SCSI adapters.
@@ -43,7 +43,7 @@
  */
 #ifdef __NetBSD__
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.127 2018/02/08 09:05:19 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.128 2021/09/06 21:56:04 andvar Exp $");
 #include <dev/ic/isp_netbsd.h>
 #endif
 #ifdef __FreeBSD__
@@ -1609,7 +1609,7 @@
                         * We can't have Fast Posting any more- we now
                         * have 32 bit handles.
                         *
-                        * RIO seemed to have to much breakage.
+                        * RIO seemed to have too much breakage.
                         *
                         * Just opt for safety.
                         */
diff -r 047b40d4ac53 -r 65c513b3557e sys/dev/pci/neo.c
--- a/sys/dev/pci/neo.c Mon Sep 06 21:18:55 2021 +0000
+++ b/sys/dev/pci/neo.c Mon Sep 06 21:56:03 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: neo.c,v 1.55 2019/11/12 13:17:44 msaitoh Exp $ */
+/*     $NetBSD: neo.c,v 1.56 2021/09/06 21:56:04 andvar Exp $  */
 
 /*
  * Copyright (c) 1999 Cameron Grant <gandalf%vilnya.demon.co.uk@localhost>
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: neo.c,v 1.55 2019/11/12 13:17:44 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: neo.c,v 1.56 2021/09/06 21:56:04 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -100,8 +100,8 @@
  * at 44.1kHz/stero/16 bit. However, to keep the buffer full, interrupts
  * are generated more often than that, so 20-40 interrupts per second
  * should not be unexpected. Increasing BUFFSIZE should help minimize
- * of glitches due to drivers that spend to much time looping at high
- * privelege levels as well as the impact of badly written audio
+ * of glitches due to drivers that spend too much time looping at high
+ * privilege levels as well as the impact of badly written audio
  * interface clients.
  *
  * TO-DO list:
diff -r 047b40d4ac53 -r 65c513b3557e sys/netinet/sctp.h
--- a/sys/netinet/sctp.h        Mon Sep 06 21:18:55 2021 +0000
+++ b/sys/netinet/sctp.h        Mon Sep 06 21:56:03 2021 +0000
@@ -1,5 +1,5 @@
 /*     $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $   */
-/*     $NetBSD: sctp.h,v 1.3 2019/06/03 06:04:21 msaitoh Exp $ */
+/*     $NetBSD: sctp.h,v 1.4 2021/09/06 21:56:04 andvar Exp $ */
 
 #ifndef _NETINET_SCTP_H_
 #define _NETINET_SCTP_H_
@@ -98,7 +98,7 @@
  * shared for send resources amongst all associations. The default
  * for the UDP model is that is SS_NBIO is set. Which means all associations
  * have a separate send limit BUT they will NOT ever BLOCK instead
- * you will get an error back EAGAIN if you try to send to much. If
+ * you will get an error back EAGAIN if you try to send too much. If
  * you want the blocking symantics you set this option at the cost
  * of sharing one socket send buffer size amongst all associations.
  * Peeled off sockets turn this option off and block... but since both TCP and
@@ -193,7 +193,7 @@
 #define SCTP_ERROR_ILLEGAL_ASCONF_ACK  0x0103
 
 /*
- * error cause parameters (user visisble)
+ * error cause parameters (user visible)
  */
 struct sctp_error_cause {
        u_int16_t code;



Home | Main Index | Thread Index | Old Index