Module Name: src
Committed By: andvar
Date: Sat Jul 20 20:36:33 UTC 2024
Modified Files:
src/sys/arch/atari/dev: fd.c
src/sys/arch/evbarm/iq80310: iq80310_timer.c
src/sys/arch/mipsco/include: bus.h
src/sys/arch/mipsco/mipsco: clock.c
src/sys/arch/sun2/include: dvma.h
src/sys/arch/sun3/include: dvma3.h dvma3x.h
src/sys/dev/mii: atphy.c
Log Message:
fix typos in comments, mainly s/harware/hardware/.
To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/atari/dev/fd.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/evbarm/iq80310/iq80310_timer.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/mipsco/include/bus.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mipsco/mipsco/clock.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sun2/include/dvma.h
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/sun3/include/dvma3.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sun3/include/dvma3x.h
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/mii/atphy.c
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/atari/dev/fd.c
diff -u src/sys/arch/atari/dev/fd.c:1.98 src/sys/arch/atari/dev/fd.c:1.99
--- src/sys/arch/atari/dev/fd.c:1.98 Wed Dec 20 00:40:42 2023
+++ src/sys/arch/atari/dev/fd.c Sat Jul 20 20:36:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.98 2023/12/20 00:40:42 thorpej Exp $ */
+/* $NetBSD: fd.c,v 1.99 2024/07/20 20:36:33 andvar Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.98 2023/12/20 00:40:42 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.99 2024/07/20 20:36:33 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1152,7 +1152,7 @@ fdmotoroff(struct fd_softc *sc)
int s;
/*
- * Get at harware interrupt level
+ * Get at hardware interrupt level
*/
s = splbio();
Index: src/sys/arch/evbarm/iq80310/iq80310_timer.c
diff -u src/sys/arch/evbarm/iq80310/iq80310_timer.c:1.23 src/sys/arch/evbarm/iq80310/iq80310_timer.c:1.24
--- src/sys/arch/evbarm/iq80310/iq80310_timer.c:1.23 Fri May 29 12:30:40 2020
+++ src/sys/arch/evbarm/iq80310/iq80310_timer.c Sat Jul 20 20:36:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: iq80310_timer.c,v 1.23 2020/05/29 12:30:40 rin Exp $ */
+/* $NetBSD: iq80310_timer.c,v 1.24 2024/07/20 20:36:33 andvar Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iq80310_timer.c,v 1.23 2020/05/29 12:30:40 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iq80310_timer.c,v 1.24 2024/07/20 20:36:33 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -121,7 +121,7 @@ timer_read(void)
/*
* First read latches count.
*
- * From RedBoot: harware bug that causes invalid counts to be
+ * From RedBoot: hardware bug that causes invalid counts to be
* latched. The loop appears to work around the problem.
*/
do {
Index: src/sys/arch/mipsco/include/bus.h
diff -u src/sys/arch/mipsco/include/bus.h:1.25 src/sys/arch/mipsco/include/bus.h:1.26
--- src/sys/arch/mipsco/include/bus.h:1.25 Fri Dec 8 01:38:20 2023
+++ src/sys/arch/mipsco/include/bus.h Sat Jul 20 20:36:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.25 2023/12/08 01:38:20 thorpej Exp $ */
+/* $NetBSD: bus.h,v 1.26 2024/07/20 20:36:33 andvar Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -656,7 +656,7 @@ __bus_space_copy_region(8)
* - When bus bridge performs automatic byte swap, these functions
* perform byte swap once more, to cancel the bridge's behavior.
*
- * Mips Computer Systems platforms perform harware byte swapping -
+ * Mips Computer Systems platforms perform hardware byte swapping -
* therefore the streaming methods can byte swap as determined from
* the bus space tag settings
*
Index: src/sys/arch/mipsco/mipsco/clock.c
diff -u src/sys/arch/mipsco/mipsco/clock.c:1.10 src/sys/arch/mipsco/mipsco/clock.c:1.11
--- src/sys/arch/mipsco/mipsco/clock.c:1.10 Tue Feb 8 20:20:19 2011
+++ src/sys/arch/mipsco/mipsco/clock.c Sat Jul 20 20:36:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.10 2011/02/08 20:20:19 rmind Exp $ */
+/* $NetBSD: clock.c,v 1.11 2024/07/20 20:36:33 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.10 2011/02/08 20:20:19 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.11 2024/07/20 20:36:33 andvar Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -63,7 +63,7 @@ __KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.
*
* Inittodr initializes the time of day hardware which provides
* date functions. Its primary function is to use some file
- * system information in case the hardare clock lost state.
+ * system information in case the hardware clock lost state.
*
* Resettodr restores the time of day hardware after a time change.
*/
Index: src/sys/arch/sun2/include/dvma.h
diff -u src/sys/arch/sun2/include/dvma.h:1.7 src/sys/arch/sun2/include/dvma.h:1.8
--- src/sys/arch/sun2/include/dvma.h:1.7 Mon Apr 28 20:23:37 2008
+++ src/sys/arch/sun2/include/dvma.h Sat Jul 20 20:36:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: dvma.h,v 1.7 2008/04/28 20:23:37 martin Exp $ */
+/* $NetBSD: dvma.h,v 1.8 2024/07/20 20:36:33 andvar Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
#include <machine/idprom.h>
/*
- * Note that while the DVMA harware makes the last 1MB visible
+ * Note that while the DVMA hardware makes the last 1MB visible
* for secondary masters, the PROM "owns" the last page of it.
* XXX fredette - is this because of the obio ie SCP?
* Also note that OBIO devices can actually see all of
Index: src/sys/arch/sun3/include/dvma3.h
diff -u src/sys/arch/sun3/include/dvma3.h:1.11 src/sys/arch/sun3/include/dvma3.h:1.12
--- src/sys/arch/sun3/include/dvma3.h:1.11 Mon Apr 28 20:23:38 2008
+++ src/sys/arch/sun3/include/dvma3.h Sat Jul 20 20:36:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: dvma3.h,v 1.11 2008/04/28 20:23:38 martin Exp $ */
+/* $NetBSD: dvma3.h,v 1.12 2024/07/20 20:36:33 andvar Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
/*
* DVMA (SUN3 specific)
*
- * Note that while the DVMA harware makes the last 1MB visible
+ * Note that while the DVMA hardware makes the last 1MB visible
* for secondary masters, the PROM "owns" the last page of it.
* Also note that OBIO devices can actually see the last 16MB
* of kernel virtual space. That can be mostly ignored, except
Index: src/sys/arch/sun3/include/dvma3x.h
diff -u src/sys/arch/sun3/include/dvma3x.h:1.7 src/sys/arch/sun3/include/dvma3x.h:1.8
--- src/sys/arch/sun3/include/dvma3x.h:1.7 Mon Apr 28 20:23:38 2008
+++ src/sys/arch/sun3/include/dvma3x.h Sat Jul 20 20:36:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: dvma3x.h,v 1.7 2008/04/28 20:23:38 martin Exp $ */
+/* $NetBSD: dvma3x.h,v 1.8 2024/07/20 20:36:33 andvar Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
* (Most of the comments pertaining to the sun3x DVMA are now
* in sun3x/dvma.c)
*
- * Note that while the DVMA harware makes the last 1MB visible
+ * Note that while the DVMA hardware makes the last 1MB visible
* for secondary masters, the PROM "owns" the last page of it.
* Also note that OBIO devices can actually see the last 16MB
* of kernel virtual space. That can be mostly ignored, except
Index: src/sys/dev/mii/atphy.c
diff -u src/sys/dev/mii/atphy.c:1.31 src/sys/dev/mii/atphy.c:1.32
--- src/sys/dev/mii/atphy.c:1.31 Wed Feb 22 08:09:09 2023
+++ src/sys/dev/mii/atphy.c Sat Jul 20 20:36:32 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: atphy.c,v 1.31 2023/02/22 08:09:09 msaitoh Exp $ */
+/* $NetBSD: atphy.c,v 1.32 2024/07/20 20:36:32 andvar Exp $ */
/* $OpenBSD: atphy.c,v 1.1 2008/09/25 20:47:16 brad Exp $ */
/*-
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.31 2023/02/22 08:09:09 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.32 2024/07/20 20:36:32 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -265,7 +265,7 @@ atphy_service(struct mii_softc *sc, stru
* in unexpected results such as inaccessibility of
* hardware of freshly rebooted system. Disable
* powering down PHY until I got more information for
- * Attansic/Atheros PHY hardwares.
+ * Attansic/Atheros PHY hardware.
*/
PHY_WRITE(sc, MII_BMCR, bmcr | BMCR_ISO);
goto done;