Module Name: src
Committed By: andvar
Date: Mon Sep 6 21:56:04 UTC 2021
Modified Files:
src/sys/arch/hppa/hppa: kgdb_hppa.c trap.S
src/sys/arch/hppa/include: trap.h
src/sys/arch/sparc/include: ctlreg.h
src/sys/dev/ic: isp.c
src/sys/dev/pci: neo.c
src/sys/netinet: sctp.h
Log Message:
fix various typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hppa/hppa/kgdb_hppa.c
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/hppa/hppa/trap.S
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hppa/include/trap.h
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/sparc/include/ctlreg.h
cvs rdiff -u -r1.127 -r1.128 src/sys/dev/ic/isp.c
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/pci/neo.c
cvs rdiff -u -r1.3 -r1.4 src/sys/netinet/sctp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hppa/hppa/kgdb_hppa.c
diff -u src/sys/arch/hppa/hppa/kgdb_hppa.c:1.9 src/sys/arch/hppa/hppa/kgdb_hppa.c:1.10
--- src/sys/arch/hppa/hppa/kgdb_hppa.c:1.9 Mon Apr 15 20:45:08 2019
+++ src/sys/arch/hppa/hppa/kgdb_hppa.c Mon Sep 6 21:56:03 2021
@@ -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 @@ kgdb_signal(int type)
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:
Index: src/sys/arch/hppa/hppa/trap.S
diff -u src/sys/arch/hppa/hppa/trap.S:1.73 src/sys/arch/hppa/hppa/trap.S:1.74
--- src/sys/arch/hppa/hppa/trap.S:1.73 Mon Sep 14 16:11:00 2020
+++ src/sys/arch/hppa/hppa/trap.S Mon Sep 6 21:56:03 2021
@@ -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 @@ os_hpmc:
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 */
Index: src/sys/arch/hppa/include/trap.h
diff -u src/sys/arch/hppa/include/trap.h:1.4 src/sys/arch/hppa/include/trap.h:1.5
--- src/sys/arch/hppa/include/trap.h:1.4 Sat Jan 16 10:06:31 2010
+++ src/sys/arch/hppa/include/trap.h Mon Sep 6 21:56:03 2021
@@ -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 */
Index: src/sys/arch/sparc/include/ctlreg.h
diff -u src/sys/arch/sparc/include/ctlreg.h:1.30 src/sys/arch/sparc/include/ctlreg.h:1.31
--- src/sys/arch/sparc/include/ctlreg.h:1.30 Thu Aug 29 05:55:18 2019
+++ src/sys/arch/sparc/include/ctlreg.h Mon Sep 6 21:56:03 2021
@@ -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 */
Index: src/sys/dev/ic/isp.c
diff -u src/sys/dev/ic/isp.c:1.127 src/sys/dev/ic/isp.c:1.128
--- src/sys/dev/ic/isp.c:1.127 Thu Feb 8 09:05:19 2018
+++ src/sys/dev/ic/isp.c Mon Sep 6 21:56:04 2021
@@ -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 @@ isp_fibre_init(ispsoftc_t *isp)
* 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.
*/
Index: src/sys/dev/pci/neo.c
diff -u src/sys/dev/pci/neo.c:1.55 src/sys/dev/pci/neo.c:1.56
--- src/sys/dev/pci/neo.c:1.55 Tue Nov 12 13:17:44 2019
+++ src/sys/dev/pci/neo.c Mon Sep 6 21:56:04 2021
@@ -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 <[email protected]>
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: neo.c,v 1.55
* 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:
Index: src/sys/netinet/sctp.h
diff -u src/sys/netinet/sctp.h:1.3 src/sys/netinet/sctp.h:1.4
--- src/sys/netinet/sctp.h:1.3 Mon Jun 3 06:04:21 2019
+++ src/sys/netinet/sctp.h Mon Sep 6 21:56:04 2021
@@ -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 @@ struct sctp_paramhdr {
* 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 @@ struct sctp_paramhdr {
#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;