Module Name: src
Committed By: andvar
Date: Sun Feb 12 16:04:58 UTC 2023
Modified Files:
src/sys/arch/hp300/dev: rd.c
src/sys/arch/hp300/stand/common: rd.c
src/sys/dev/gpib: rd.c
Log Message:
fix various typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/arch/hp300/dev/rd.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/hp300/stand/common/rd.c
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/gpib/rd.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/hp300/dev/rd.c
diff -u src/sys/arch/hp300/dev/rd.c:1.124 src/sys/arch/hp300/dev/rd.c:1.125
--- src/sys/arch/hp300/dev/rd.c:1.124 Sat Dec 3 16:56:40 2022
+++ src/sys/arch/hp300/dev/rd.c Sun Feb 12 16:04:57 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: rd.c,v 1.124 2022/12/03 16:56:40 tsutsui Exp $ */
+/* $NetBSD: rd.c,v 1.125 2023/02/12 16:04:57 andvar Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.124 2022/12/03 16:56:40 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.125 2023/02/12 16:04:57 andvar Exp $");
#include "opt_useleds.h"
@@ -581,9 +581,9 @@ rdident(device_t parent, struct rd_softc
return 0;
/*
- * The supported dvice ID is probed.
+ * The supported device ID is probed.
* Check if the specified physical unit is actually supported
- * by brandnew HP-IB emulator devices like HPDisk and HPDrive etc.
+ * by brand-new HP-IB emulator devices like HPDisk and HPDrive etc.
*/
/*
* Reset device and collect description
@@ -646,7 +646,7 @@ rdident(device_t parent, struct rd_softc
#endif
/*
- * Take care of a couple of anomolies:
+ * Take care of a couple of anomalies:
* 1. 7945A, 7946A, and 7941A all return same HW id
* 2. 9122S and 9134D both return same HW id
* 3. 9122D and 9134L both return same HW id
@@ -1218,7 +1218,7 @@ rderror(int unit)
}
/*
* Unit requests release for internal maintenance.
- * We just delay awhile and try again later. Use expontially
+ * We just delay awhile and try again later. Use exponentially
* increasing backoff ala ethernet drivers since we don't really
* know how long the maintenance will take. With RDWAITC and
* RDRETRY as defined, the range is 1 to 32 seconds.
Index: src/sys/arch/hp300/stand/common/rd.c
diff -u src/sys/arch/hp300/stand/common/rd.c:1.16 src/sys/arch/hp300/stand/common/rd.c:1.17
--- src/sys/arch/hp300/stand/common/rd.c:1.16 Sun Jan 15 06:19:46 2023
+++ src/sys/arch/hp300/stand/common/rd.c Sun Feb 12 16:04:57 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: rd.c,v 1.16 2023/01/15 06:19:46 tsutsui Exp $ */
+/* $NetBSD: rd.c,v 1.17 2023/02/12 16:04:57 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -178,7 +178,7 @@ rdident(int ctlr, int unit)
}
}
/*
- * Take care of a couple of anomolies:
+ * Take care of a couple of anomalies:
* 1. 7945A and 7946A both return same HW id
* 2. 9122S and 9134D both return same HW id
* 3. 9122D and 9134L both return same HW id
Index: src/sys/dev/gpib/rd.c
diff -u src/sys/dev/gpib/rd.c:1.44 src/sys/dev/gpib/rd.c:1.45
--- src/sys/dev/gpib/rd.c:1.44 Sat Jul 31 20:29:37 2021
+++ src/sys/dev/gpib/rd.c Sun Feb 12 16:04:57 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: rd.c,v 1.44 2021/07/31 20:29:37 andvar Exp $ */
+/* $NetBSD: rd.c,v 1.45 2023/02/12 16:04:57 andvar Exp $ */
/*-
* Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.44 2021/07/31 20:29:37 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.45 2023/02/12 16:04:57 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -361,7 +361,7 @@ rdattach(device_t parent, device_t self,
#endif
/*
- * Take care of a couple of anomolies:
+ * Take care of a couple of anomalies:
* 1. 7945A and 7946A both return same HW id
* 2. 9122S and 9134D both return same HW id
* 3. 9122D and 9134L both return same HW id
@@ -854,7 +854,7 @@ rderror(struct rd_softc *sc)
}
/*
* Unit requests release for internal maintenance.
- * We just delay awhile and try again later. Use expontially
+ * We just delay awhile and try again later. Use exponentially
* increasing backoff ala ethernet drivers since we don't really
* know how long the maintenance will take. With RDWAITC and
* RDRETRY as defined, the range is 1 to 32 seconds.