Module Name:    src
Committed By:   andvar
Date:           Sat Sep  7 06:17:38 UTC 2024

Modified Files:
        src/lib/libcurses/PSD.doc: doc.III
        src/lib/libm/noieee_src: n_tanh.c
        src/sys/arch/arm/arm: armv6_start.S
        src/sys/arch/arm/include/arm32: vmparam.h
        src/sys/arch/atari/pci: pci_machdep.c
        src/sys/arch/evbppc/obs405/dev: obsled.c
        src/sys/arch/hppa/hppa: fpemu.S
        src/sys/arch/sparc64/include: cpu.h
        src/sys/arch/x68k/x68k: locore.s
        src/sys/dev/ic: dm9000.c dwc_gmac.c malo.c smc83c170.c ugreg.h
        src/sys/net: if_faith.c

Log Message:
spelling and grammar fixes, mainly in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libcurses/PSD.doc/doc.III
cvs rdiff -u -r1.7 -r1.8 src/lib/libm/noieee_src/n_tanh.c
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/arm/arm/armv6_start.S
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/arm/include/arm32/vmparam.h
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/atari/pci/pci_machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbppc/obs405/dev/obsled.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hppa/hppa/fpemu.S
cvs rdiff -u -r1.134 -r1.135 src/sys/arch/sparc64/include/cpu.h
cvs rdiff -u -r1.133 -r1.134 src/sys/arch/x68k/x68k/locore.s
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ic/dm9000.c
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/ic/dwc_gmac.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ic/malo.c
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/ic/smc83c170.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/ic/ugreg.h
cvs rdiff -u -r1.63 -r1.64 src/sys/net/if_faith.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libcurses/PSD.doc/doc.III
diff -u src/lib/libcurses/PSD.doc/doc.III:1.5 src/lib/libcurses/PSD.doc/doc.III:1.6
--- src/lib/libcurses/PSD.doc/doc.III:1.5	Thu Aug  7 16:44:27 2003
+++ src/lib/libcurses/PSD.doc/doc.III	Sat Sep  7 06:17:38 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: doc.III,v 1.5 2003/08/07 16:44:27 agc Exp $
+.\"	$NetBSD: doc.III,v 1.6 2024/09/07 06:17:38 andvar Exp $
 .\"
 .\" Copyright (c) 1980, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -126,7 +126,7 @@ If standard input is not a tty,
 it sets the specifications to the terminal
 whose name is pointed to by
 .Vn Def\*_term
-(initialy "dumb").
+(initially "dumb").
 If the boolean
 .Vn My\*_term
 is true,
@@ -163,7 +163,7 @@ will be changed accordingly.
 If it is FALSE,
 it will be moved to the current \*y.
 This flag
-(initialy FALSE)
+(initially FALSE)
 retains its value until changed by the user.
 .Ds
 .Fd longname termbuf\*,name

Index: src/lib/libm/noieee_src/n_tanh.c
diff -u src/lib/libm/noieee_src/n_tanh.c:1.7 src/lib/libm/noieee_src/n_tanh.c:1.8
--- src/lib/libm/noieee_src/n_tanh.c:1.7	Thu Mar  6 10:59:00 2014
+++ src/lib/libm/noieee_src/n_tanh.c	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: n_tanh.c,v 1.7 2014/03/06 10:59:00 martin Exp $	*/
+/*	$NetBSD: n_tanh.c,v 1.8 2024/09/07 06:17:37 andvar Exp $	*/
 /*
  * Copyright (c) 1985, 1993
  *	The Regents of the University of California.  All rights reserved.
@@ -66,7 +66,7 @@ static char sccsid[] = "@(#)tanh.c	8.1 (
  *	only tanh(0)=0 is exact for finite argument.
  *
  * Accuracy:
- *	tanh(x) returns the exact hyperbolic tangent of x nealy rounded.
+ *	tanh(x) returns the exact hyperbolic tangent of x nearly rounded.
  *	In a test run with 1,024,000 random arguments on a VAX, the maximum
  *	observed error was 2.22 ulps (units in the last place).
  */

Index: src/sys/arch/arm/arm/armv6_start.S
diff -u src/sys/arch/arm/arm/armv6_start.S:1.38 src/sys/arch/arm/arm/armv6_start.S:1.39
--- src/sys/arch/arm/arm/armv6_start.S:1.38	Thu Feb 23 14:55:24 2023
+++ src/sys/arch/arm/arm/armv6_start.S	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: armv6_start.S,v 1.38 2023/02/23 14:55:24 riastradh Exp $	*/
+/*	$NetBSD: armv6_start.S,v 1.39 2024/09/07 06:17:37 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2012, 2017, 2018 The NetBSD Foundation, Inc.
@@ -302,7 +302,7 @@ arm_build_translation_table:
 	VPRINTF("DTB")
 
 	/*
-	 * Add DTB identity mapping (1MB) from originaly r2 (but saved in
+	 * Add DTB identity mapping (1MB) from originally r2 (but saved in
 	 * R_FDTADDR)
 	 */
 	ldr	r0, =(L1_S_SIZE - 1)		/* align DTB PA to 1M */

Index: src/sys/arch/arm/include/arm32/vmparam.h
diff -u src/sys/arch/arm/include/arm32/vmparam.h:1.57 src/sys/arch/arm/include/arm32/vmparam.h:1.58
--- src/sys/arch/arm/include/arm32/vmparam.h:1.57	Sun Apr 16 14:01:51 2023
+++ src/sys/arch/arm/include/arm32/vmparam.h	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.57 2023/04/16 14:01:51 skrll Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.58 2024/09/07 06:17:37 andvar Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -54,7 +54,7 @@
 #define	USRSTACK	VM_MAXUSER_ADDRESS
 
 /*
- * ARMv4 systems are normaly configured for 256MB KVA only, so restrict
+ * ARMv4 systems are normally configured for 256MB KVA only, so restrict
  * the size of the pager map to 4MB.
  */
 #ifndef _ARM_ARCH_5

Index: src/sys/arch/atari/pci/pci_machdep.c
diff -u src/sys/arch/atari/pci/pci_machdep.c:1.64 src/sys/arch/atari/pci/pci_machdep.c:1.65
--- src/sys/arch/atari/pci/pci_machdep.c:1.64	Tue Aug  1 21:26:27 2023
+++ src/sys/arch/atari/pci/pci_machdep.c	Sat Sep  7 06:17:38 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: pci_machdep.c,v 1.64 2023/08/01 21:26:27 andvar Exp $	*/
+/*	$NetBSD: pci_machdep.c,v 1.65 2024/09/07 06:17:38 andvar Exp $	*/
 
 /*
  * Copyright (c) 1996 Leo Weppelman.  All rights reserved.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.64 2023/08/01 21:26:27 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.65 2024/09/07 06:17:38 andvar Exp $");
 
 #include "opt_mbtype.h"
 
@@ -314,7 +314,7 @@ overlap_pci_areas(struct pci_memreg *p, 
 
 /*
  * Enable memory and I/O on pci devices. Care about already enabled devices
- * (probabaly by the console driver).
+ * (probably by the console driver).
  *
  * The idea behind the following code is:
  * We build a by sizes sorted list of the requirements of the different

Index: src/sys/arch/evbppc/obs405/dev/obsled.c
diff -u src/sys/arch/evbppc/obs405/dev/obsled.c:1.11 src/sys/arch/evbppc/obs405/dev/obsled.c:1.12
--- src/sys/arch/evbppc/obs405/dev/obsled.c:1.11	Mon Jan 15 19:44:07 2024
+++ src/sys/arch/evbppc/obs405/dev/obsled.c	Sat Sep  7 06:17:38 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: obsled.c,v 1.11 2024/01/15 19:44:07 andvar Exp $	*/
+/*	$NetBSD: obsled.c,v 1.12 2024/09/07 06:17:38 andvar Exp $	*/
 
 /*
  * Copyright (c) 2004 Shigeyuki Fukushima.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obsled.c,v 1.11 2024/01/15 19:44:07 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obsled.c,v 1.12 2024/09/07 06:17:38 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -174,8 +174,8 @@ obs266_led_set(int led)
 	deviter_t di;
 
 	/*
-	 * Sarching "obsled" devices from device tree.
-	 * Do you have something better idea?
+	 * Searching "obsled" devices from device tree.
+	 * Do you have a better idea?
 	 */
         for (dv = deviter_first(&di, DEVITER_F_ROOT_FIRST); dv != NULL;
 	     dv = deviter_next(&di)) {

Index: src/sys/arch/hppa/hppa/fpemu.S
diff -u src/sys/arch/hppa/hppa/fpemu.S:1.7 src/sys/arch/hppa/hppa/fpemu.S:1.8
--- src/sys/arch/hppa/hppa/fpemu.S:1.7	Mon Apr 15 20:45:08 2019
+++ src/sys/arch/hppa/hppa/fpemu.S	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: fpemu.S,v 1.7 2019/04/15 20:45:08 skrll Exp $	*/
+/*	$NetBSD: fpemu.S,v 1.8 2024/09/07 06:17:37 andvar Exp $	*/
 
 /*	$OpenBSD: fpemu.S,v 1.4 2001/03/29 02:18:45 mickey Exp $	*/
 
@@ -91,7 +91,7 @@ LEAF_ENTRY_NOPROFILE(fpu_emulate)
 
 L$fpu_cln1:
 	/*
-	 * theoreticaly we would need to determine the fpu instruction
+	 * theoretically we would need to determine the fpu instruction
 	 * exception type (there could be 4 of those, but stick w/
 	 * non-timex fpus for now.
 	 */

Index: src/sys/arch/sparc64/include/cpu.h
diff -u src/sys/arch/sparc64/include/cpu.h:1.134 src/sys/arch/sparc64/include/cpu.h:1.135
--- src/sys/arch/sparc64/include/cpu.h:1.134	Thu Jul 13 12:06:20 2023
+++ src/sys/arch/sparc64/include/cpu.h	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpu.h,v 1.134 2023/07/13 12:06:20 riastradh Exp $ */
+/*	$NetBSD: cpu.h,v 1.135 2024/09/07 06:17:37 andvar Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -266,7 +266,7 @@ extern struct pool_cache *fpstate_cache;
 
 /* CURCPU_INT() a local (per CPU) view of our cpu_info */
 #define	CURCPU_INT()	((struct cpu_info *)CPUINFO_VA)
-/* in general we prefer the globaly visible pointer */
+/* in general we prefer the globally visible pointer */
 #define	curcpu()	(CURCPU_INT()->ci_self)
 #define	cpu_number()	(curcpu()->ci_index)
 #define	CPU_IS_PRIMARY(ci)	((ci)->ci_flags & CPUF_PRIMARY)

Index: src/sys/arch/x68k/x68k/locore.s
diff -u src/sys/arch/x68k/x68k/locore.s:1.133 src/sys/arch/x68k/x68k/locore.s:1.134
--- src/sys/arch/x68k/x68k/locore.s:1.133	Fri Jan 19 18:49:10 2024
+++ src/sys/arch/x68k/x68k/locore.s	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore.s,v 1.133 2024/01/19 18:49:10 thorpej Exp $	*/
+/*	$NetBSD: locore.s,v 1.134 2024/09/07 06:17:37 andvar Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -119,7 +119,7 @@ ASENTRY_NOPROFILE(start)
 	movel	%sp@+,%d5		| fphysize -- last page
 	movel	%sp@,%a4		| esym
 
-	RELOC(vectab,%a0)		| set Vector Base Register temporaly
+	RELOC(vectab,%a0)		| set Vector Base Register temporarily
 	movc	%a0,%vbr
 
 #if 0	/* XXX this should be done by the boot loader */

Index: src/sys/dev/ic/dm9000.c
diff -u src/sys/dev/ic/dm9000.c:1.36 src/sys/dev/ic/dm9000.c:1.37
--- src/sys/dev/ic/dm9000.c:1.36	Fri Jul  7 07:22:18 2023
+++ src/sys/dev/ic/dm9000.c	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: dm9000.c,v 1.36 2023/07/07 07:22:18 martin Exp $	*/
+/*	$NetBSD: dm9000.c,v 1.37 2024/09/07 06:17:37 andvar Exp $	*/
 
 /*
  * Copyright (c) 2009 Paul Fleischer
@@ -227,7 +227,7 @@ dme_attach(struct dme_softc *sc, const u
 		aprint_debug_dev(sc->sc_dev, "got MAC address!\n");
 	} else {
 		/*
-		 * If we did not get an externaly configure address,
+		 * If we did not get an externally configure address,
 		 * try to read one from the current setup, before
 		 * resetting the chip.
 		 */

Index: src/sys/dev/ic/dwc_gmac.c
diff -u src/sys/dev/ic/dwc_gmac.c:1.94 src/sys/dev/ic/dwc_gmac.c:1.95
--- src/sys/dev/ic/dwc_gmac.c:1.94	Sun Aug 11 12:48:09 2024
+++ src/sys/dev/ic/dwc_gmac.c	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.94 2024/08/11 12:48:09 riastradh Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.95 2024/09/07 06:17:37 andvar Exp $ */
 
 /*-
  * Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.94 2024/08/11 12:48:09 riastradh Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.95 2024/09/07 06:17:37 andvar Exp $");
 
 /* #define	DWC_GMAC_DEBUG	1 */
 
@@ -207,7 +207,7 @@ dwc_gmac_attach(struct dwc_gmac_softc *s
 		memcpy(enaddr, prop_data_value(ea), ETHER_ADDR_LEN);
 	} else {
 		/*
-		 * If we did not get an externaly configure address,
+		 * If we did not get an externally configure address,
 		 * try to read one from the current filter setup,
 		 * before resetting the chip.
 		 */

Index: src/sys/dev/ic/malo.c
diff -u src/sys/dev/ic/malo.c:1.20 src/sys/dev/ic/malo.c:1.21
--- src/sys/dev/ic/malo.c:1.20	Fri Dec 24 21:57:49 2021
+++ src/sys/dev/ic/malo.c	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: malo.c,v 1.20 2021/12/24 21:57:49 riastradh Exp $ */
+/*	$NetBSD: malo.c,v 1.21 2024/09/07 06:17:37 andvar Exp $ */
 /*	$OpenBSD: malo.c,v 1.92 2010/08/27 17:08:00 jsg Exp $ */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: malo.c,v 1.20 2021/12/24 21:57:49 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: malo.c,v 1.21 2024/09/07 06:17:37 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -1712,7 +1712,7 @@ malo_load_bootimg(struct malo_softc *sc)
 	/*
 	 * we loaded the firmware into card memory now tell the CPU
 	 * to fetch the code and execute it. The memory mapped via the
-	 * first bar is internaly mapped to 0xc0000000.
+	 * first bar is internally mapped to 0xc0000000.
 	 */
 	malo_send_cmd(sc, 0xc000bef8);
 

Index: src/sys/dev/ic/smc83c170.c
diff -u src/sys/dev/ic/smc83c170.c:1.98 src/sys/dev/ic/smc83c170.c:1.99
--- src/sys/dev/ic/smc83c170.c:1.98	Sat Jun 29 12:11:11 2024
+++ src/sys/dev/ic/smc83c170.c	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: smc83c170.c,v 1.98 2024/06/29 12:11:11 riastradh Exp $	*/
+/*	$NetBSD: smc83c170.c,v 1.99 2024/09/07 06:17:37 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smc83c170.c,v 1.98 2024/06/29 12:11:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smc83c170.c,v 1.99 2024/09/07 06:17:37 andvar Exp $");
 
 
 #include <sys/param.h>
@@ -1400,7 +1400,7 @@ epic_statchg(struct ifnet *ifp)
 		txcon &= ~(TXCON_LOOPBACK_D1 | TXCON_LOOPBACK_D2);
 	bus_space_write_4(sc->sc_st, sc->sc_sh, EPIC_TXCON, txcon);
 
-	/* On some cards we need manualy set fullduplex led */
+	/* On some cards we need manually set fullduplex led */
 	if (sc->sc_hwflags & EPIC_DUPLEXLED_ON_694) {
 		miicfg = bus_space_read_4(sc->sc_st, sc->sc_sh, EPIC_MIICFG);
 		if (IFM_OPTIONS(sc->sc_mii.mii_media_active) & IFM_FDX)

Index: src/sys/dev/ic/ugreg.h
diff -u src/sys/dev/ic/ugreg.h:1.1 src/sys/dev/ic/ugreg.h:1.2
--- src/sys/dev/ic/ugreg.h:1.1	Tue May  8 16:48:38 2007
+++ src/sys/dev/ic/ugreg.h	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: ugreg.h,v 1.1 2007/05/08 16:48:38 xtraeme Exp $ */
+/* $NetBSD: ugreg.h,v 1.2 2024/09/07 06:17:37 andvar Exp $ */
 
 /*
  * Copyright (c) 2007 Mihai Chelaru <kef...@netbsd.ro>
@@ -38,7 +38,7 @@
 #define UG_NUM_SENSORS  19
 #define UG_MAX_SENSORS  32
 
-/* Data and Cmd offsets - Base is ussualy 0xE0 */
+/* Data and Cmd offsets - Base is usually 0xE0 */
 #define UG_CMD          0
 #define UG_DATA         4
 

Index: src/sys/net/if_faith.c
diff -u src/sys/net/if_faith.c:1.63 src/sys/net/if_faith.c:1.64
--- src/sys/net/if_faith.c:1.63	Sat Sep  3 02:47:59 2022
+++ src/sys/net/if_faith.c	Sat Sep  7 06:17:37 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_faith.c,v 1.63 2022/09/03 02:47:59 thorpej Exp $	*/
+/*	$NetBSD: if_faith.c,v 1.64 2024/09/07 06:17:37 andvar Exp $	*/
 /*	$KAME: if_faith.c,v 1.21 2001/02/20 07:59:26 itojun Exp $	*/
 
 /*
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.63 2022/09/03 02:47:59 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.64 2024/09/07 06:17:37 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -142,7 +142,7 @@ faith_clone_create(struct if_clone *ifc,
 	if_initname(ifp, ifc->ifc_name, unit);
 
 	ifp->if_mtu = FAITHMTU;
-	/* Change to BROADCAST experimentaly to announce its prefix. */
+	/* Change to BROADCAST experimentally to announce its prefix. */
 	ifp->if_flags = /* IFF_LOOPBACK */ IFF_BROADCAST | IFF_MULTICAST;
 	ifp->if_ioctl = faithioctl;
 	ifp->if_output = faithoutput;

Reply via email to