Module Name: src
Committed By: andvar
Date: Fri Feb 28 09:07:12 UTC 2025
Modified Files:
src/sys/arch/i386/stand/fatboot: fatboot.S
src/sys/arch/powerpc/oea: pmap.c
src/sys/arch/sparc/stand/bootblk: bootblk.fth
src/sys/dev/ic: aic79xx_osm.h aic7xxx_osm.h
src/sys/dev/mii: mii.h
src/sys/netinet: sctp.h
Log Message:
Fix various typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/i386/stand/fatboot/fatboot.S
cvs rdiff -u -r1.121 -r1.122 src/sys/arch/powerpc/oea/pmap.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sparc/stand/bootblk/bootblk.fth
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/ic/aic79xx_osm.h
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/ic/aic7xxx_osm.h
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/mii/mii.h
cvs rdiff -u -r1.6 -r1.7 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/i386/stand/fatboot/fatboot.S
diff -u src/sys/arch/i386/stand/fatboot/fatboot.S:1.4 src/sys/arch/i386/stand/fatboot/fatboot.S:1.5
--- src/sys/arch/i386/stand/fatboot/fatboot.S:1.4 Sat Mar 10 23:59:36 2012
+++ src/sys/arch/i386/stand/fatboot/fatboot.S Fri Feb 28 09:07:12 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: fatboot.S,v 1.4 2012/03/10 23:59:36 dsl Exp $ */
+/* $NetBSD: fatboot.S,v 1.5 2025/02/28 09:07:12 andvar Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -254,7 +254,7 @@ read_data_block:
cmp %ax, fat_cache
je lookup_fat
-/* We must read a different chuck of the FAT */
+/* We must read a different chunk of the FAT */
mov %ax, fat_cache
cwtl
shl $1, %ax
Index: src/sys/arch/powerpc/oea/pmap.c
diff -u src/sys/arch/powerpc/oea/pmap.c:1.121 src/sys/arch/powerpc/oea/pmap.c:1.122
--- src/sys/arch/powerpc/oea/pmap.c:1.121 Fri Dec 15 09:42:33 2023
+++ src/sys/arch/powerpc/oea/pmap.c Fri Feb 28 09:07:11 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.121 2023/12/15 09:42:33 rin Exp $ */
+/* $NetBSD: pmap.c,v 1.122 2025/02/28 09:07:11 andvar Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.121 2023/12/15 09:42:33 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.122 2025/02/28 09:07:11 andvar Exp $");
#define PMAP_NOOPNAMES
@@ -2991,7 +2991,7 @@ pmap_steal_memory(vsize_t vsize, vaddr_t
}
/*
- * Find a chuck of memory with right size and alignment.
+ * Find a chunk of memory with right size and alignment.
*/
paddr_t
pmap_boot_find_memory(psize_t size, psize_t alignment, int at_end)
Index: src/sys/arch/sparc/stand/bootblk/bootblk.fth
diff -u src/sys/arch/sparc/stand/bootblk/bootblk.fth:1.17 src/sys/arch/sparc/stand/bootblk/bootblk.fth:1.18
--- src/sys/arch/sparc/stand/bootblk/bootblk.fth:1.17 Thu Nov 17 06:40:39 2022
+++ src/sys/arch/sparc/stand/bootblk/bootblk.fth Fri Feb 28 09:07:12 2025
@@ -1,4 +1,4 @@
-\ $NetBSD: bootblk.fth,v 1.17 2022/11/17 06:40:39 chs Exp $
+\ $NetBSD: bootblk.fth,v 1.18 2025/02/28 09:07:12 andvar Exp $
\
\ IEEE 1275 Open Firmware Boot Block
\
@@ -703,7 +703,7 @@ create cur-blockno -1 l, -1 l, \ Curren
: check-supers ( -- found? )
\ Superblocks used to be 8KB into the partition, but ffsv2 changed that.
\ See comments in src/sys/ufs/ffs/fs.h
- \ Put a list of offets to check on the stack, ending with -1
+ \ Put a list of offsets to check on the stack, ending with -1
-1
0
d# 128 KB
@@ -891,7 +891,7 @@ create cur-blockno -1 l, -1 l, \ Curren
: do-boot ( bootfile -- )
." NetBSD IEEE 1275 Multi-FS Bootblock" cr
- ." Version $NetBSD: bootblk.fth,v 1.17 2022/11/17 06:40:39 chs Exp $" cr
+ ." Version $NetBSD: bootblk.fth,v 1.18 2025/02/28 09:07:12 andvar Exp $" cr
boot-path load-file ( -- load-base )
dup 0<> if " init-program " evaluate then
;
Index: src/sys/dev/ic/aic79xx_osm.h
diff -u src/sys/dev/ic/aic79xx_osm.h:1.23 src/sys/dev/ic/aic79xx_osm.h:1.24
--- src/sys/dev/ic/aic79xx_osm.h:1.23 Wed Apr 3 14:40:41 2013
+++ src/sys/dev/ic/aic79xx_osm.h Fri Feb 28 09:07:11 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: aic79xx_osm.h,v 1.23 2013/04/03 14:40:41 christos Exp $ */
+/* $NetBSD: aic79xx_osm.h,v 1.24 2025/02/28 09:07:11 andvar Exp $ */
/*
* NetBSD platform specific driver option settings, data structures,
@@ -32,9 +32,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $NetBSD: aic79xx_osm.h,v 1.23 2013/04/03 14:40:41 christos Exp $
+ * $NetBSD: aic79xx_osm.h,v 1.24 2025/02/28 09:07:11 andvar Exp $
*
- * //depot/aic7xxx/freebsd/dev/aic7xxx/aic79xx_osm.h#19 $$NetBSD: aic79xx_osm.h,v 1.23 2013/04/03 14:40:41 christos Exp $
+ * //depot/aic7xxx/freebsd/dev/aic7xxx/aic79xx_osm.h#19 $$NetBSD: aic79xx_osm.h,v 1.24 2025/02/28 09:07:11 andvar Exp $
*
* $FreeBSD: src/sys/dev/aic7xxx/aic79xx_osm.h,v 1.9 2003/05/26 21:43:29 gibbs Exp $
*/
@@ -141,7 +141,7 @@ typedef pcireg_t ahd_dev_softc_t;
* transfer is as fragmented as possible and unaligned, this turns out to
* be the number of paged sized transfers in MAXPHYS plus an extra element
* to handle any unaligned residual. The sequencer fetches SG elements
- * in cacheline sized chucks, so make the number per-transaction an even
+ * in cacheline sized chunks, so make the number per-transaction an even
* multiple of 16 which should align us on even the largest of cacheline
* boundaries.
*/
Index: src/sys/dev/ic/aic7xxx_osm.h
diff -u src/sys/dev/ic/aic7xxx_osm.h:1.25 src/sys/dev/ic/aic7xxx_osm.h:1.26
--- src/sys/dev/ic/aic7xxx_osm.h:1.25 Sat Nov 13 13:52:00 2010
+++ src/sys/dev/ic/aic7xxx_osm.h Fri Feb 28 09:07:11 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: aic7xxx_osm.h,v 1.25 2010/11/13 13:52:00 uebayasi Exp $ */
+/* $NetBSD: aic7xxx_osm.h,v 1.26 2025/02/28 09:07:11 andvar Exp $ */
/*
* NetBSD platform specific driver option settings, data structures,
@@ -141,7 +141,7 @@ typedef pcireg_t ahc_dev_softc_t;
* transfer is as fragmented as possible and unaligned, this turns out to
* be the number of paged sized transfers in MAXPHYS plus an extra element
* to handle any unaligned residual. The sequencer fetches SG elements
- * in cacheline sized chucks, so make the number per-transaction an even
+ * in cacheline sized chunks, so make the number per-transaction an even
* multiple of 16 which should align us on even the largest of cacheline
* boundaries.
*/
Index: src/sys/dev/mii/mii.h
diff -u src/sys/dev/mii/mii.h:1.27 src/sys/dev/mii/mii.h:1.28
--- src/sys/dev/mii/mii.h:1.27 Thu Apr 11 09:14:07 2019
+++ src/sys/dev/mii/mii.h Fri Feb 28 09:07:12 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: mii.h,v 1.27 2019/04/11 09:14:07 msaitoh Exp $ */
+/* $NetBSD: mii.h,v 1.28 2025/02/28 09:07:12 andvar Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved.
@@ -132,7 +132,7 @@
#define ANAR_X_PAUSE_SYM (1 << 7)
#define ANAR_X_PAUSE_ASYM (2 << 7)
#define ANAR_X_PAUSE_TOWARDS (3 << 7)
- /* 37.2.1.5 Remore Fault */
+ /* 37.2.1.5 Remote Fault */
#define ANAR_X_RF1 0x1000
#define ANAR_X_RF2 0x2000
#define ANAR_X_RF_MASK (ANAR_X_RF1 | ANAR_X_RF2)
@@ -167,7 +167,7 @@
#define ANLPAR_X_PAUSE_SYM (1 << 7)
#define ANLPAR_X_PAUSE_ASYM (2 << 7)
#define ANLPAR_X_PAUSE_TOWARDS (3 << 7)
- /* 37.2.1.5 Remore Fault */
+ /* 37.2.1.5 Remote Fault */
#define ANLPAR_X_RF1 0x1000
#define ANLPAR_X_RF2 0x2000
#define ANLPAR_X_RF_MASK (ANLPAR_X_RF1 | ANLPAR_X_RF2)
Index: src/sys/netinet/sctp.h
diff -u src/sys/netinet/sctp.h:1.6 src/sys/netinet/sctp.h:1.7
--- src/sys/netinet/sctp.h:1.6 Sun Mar 17 21:48:01 2024
+++ src/sys/netinet/sctp.h Fri Feb 28 09:07:12 2025
@@ -1,5 +1,5 @@
/* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */
-/* $NetBSD: sctp.h,v 1.6 2024/03/17 21:48:01 andvar Exp $ */
+/* $NetBSD: sctp.h,v 1.7 2025/02/28 09:07:12 andvar Exp $ */
#ifndef _NETINET_SCTP_H_
#define _NETINET_SCTP_H_
@@ -285,7 +285,7 @@ struct sctp_error_unrecognized_chunk {
#define SCTP_SAT_NETWORK_MIN 400 /* min ms for RTT to set satellite time */
#define SCTP_SAT_NETWORK_BURST_INCR 2 /* how many times to multiply maxburst in sat */
-/* Data Chuck Specific Flags */
+/* Data Chunk Specific Flags */
#define SCTP_DATA_FRAG_MASK 0x03
#define SCTP_DATA_MIDDLE_FRAG 0x00
#define SCTP_DATA_LAST_FRAG 0x01