Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/gpib fix various typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/825f42d297d4
branches:  trunk
changeset: 373487:825f42d297d4
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Feb 12 16:04:57 2023 +0000

description:
fix various typos in comments.

diffstat:

 sys/arch/hp300/dev/rd.c          |  12 ++++++------
 sys/arch/hp300/stand/common/rd.c |   4 ++--
 sys/dev/gpib/rd.c                |   8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diffs (102 lines):

diff -r 63f374f747ef -r 825f42d297d4 sys/arch/hp300/dev/rd.c
--- a/sys/arch/hp300/dev/rd.c   Sun Feb 12 14:59:22 2023 +0000
+++ b/sys/arch/hp300/dev/rd.c   Sun Feb 12 16:04:57 2023 +0000
@@ -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 @@
                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 @@
 #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 @@
        }
        /*
         * 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.
diff -r 63f374f747ef -r 825f42d297d4 sys/arch/hp300/stand/common/rd.c
--- a/sys/arch/hp300/stand/common/rd.c  Sun Feb 12 14:59:22 2023 +0000
+++ b/sys/arch/hp300/stand/common/rd.c  Sun Feb 12 16:04:57 2023 +0000
@@ -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 @@
                }
        }
        /*
-        * 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
diff -r 63f374f747ef -r 825f42d297d4 sys/dev/gpib/rd.c
--- a/sys/dev/gpib/rd.c Sun Feb 12 14:59:22 2023 +0000
+++ b/sys/dev/gpib/rd.c Sun Feb 12 16:04:57 2023 +0000
@@ -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 @@
 #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 @@
        }
        /*
         * 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.



Home | Main Index | Thread Index | Old Index