Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/cfeb84f0a280
branches:  trunk
changeset: 1022896:cfeb84f0a280
user:      andvar <andvar%NetBSD.org@localhost>
date:      Thu Aug 12 19:53:18 2021 +0000

description:
fix various typos in comments.

diffstat:

 sys/arch/atari/dev/grfabs_et.c |   6 +++---
 sys/dev/qbus/rf.c              |  20 ++++++++++----------
 2 files changed, 13 insertions(+), 13 deletions(-)

diffs (104 lines):

diff -r 9375be90761e -r cfeb84f0a280 sys/arch/atari/dev/grfabs_et.c
--- a/sys/arch/atari/dev/grfabs_et.c    Thu Aug 12 19:15:15 2021 +0000
+++ b/sys/arch/atari/dev/grfabs_et.c    Thu Aug 12 19:53:18 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grfabs_et.c,v 1.35 2018/09/03 16:29:24 riastradh Exp $ */
+/*     $NetBSD: grfabs_et.c,v 1.36 2021/08/12 19:53:18 andvar Exp $    */
 
 /*
  * Copyright (c) 1996 Leo Weppelman.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grfabs_et.c,v 1.35 2018/09/03 16:29:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grfabs_et.c,v 1.36 2021/08/12 19:53:18 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/queue.h>
@@ -165,7 +165,7 @@
 
 /*
  * XXX: called from ite console init routine.
- * Initialize list of posible video modes.
+ * Initialize list of possible video modes.
  */
 void
 et_probe_video(MODES *modelp)
diff -r 9375be90761e -r cfeb84f0a280 sys/dev/qbus/rf.c
--- a/sys/dev/qbus/rf.c Thu Aug 12 19:15:15 2021 +0000
+++ b/sys/dev/qbus/rf.c Thu Aug 12 19:53:18 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf.c,v 1.36 2021/08/07 16:19:15 thorpej Exp $  */
+/*     $NetBSD: rf.c,v 1.37 2021/08/12 19:53:18 andvar Exp $   */
 /*
  * Copyright (c) 2002 Jochen Kunz.
  * All rights reserved.
@@ -36,7 +36,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf.c,v 1.36 2021/08/07 16:19:15 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf.c,v 1.37 2021/08/12 19:53:18 andvar Exp $");
 
 /* autoconfig stuff */
 #include <sys/param.h>
@@ -70,7 +70,7 @@
 /* hz for above */
 #include <sys/kernel.h>
 
-/* bitdefinitions for RX211 */
+/* bit definitions for RX211 */
 #include <dev/qbus/rfreg.h>
 
 
@@ -392,8 +392,8 @@
 
 #ifndef RX02_PROBE
        /*
-        * Bouth disk drievs and the controller are one physical unit.
-        * If we found the controller, there will be bouth disk drievs.
+        * Both disk drives and the controller are one physical unit.
+        * If we found the controller, there will be both disk drives.
         * So attach them.
         */
        rfc_aa.dnum = 0;
@@ -406,7 +406,7 @@
        /*
         * There are clones of the DEC RX system with standard shugart
         * interface. In this case we can not be sure that there are
-        * bouth disk drievs. So we want to do a detection of attached
+        * both disk drives. So we want to do a detection of attached
         * drives. This is done by reading a sector from disk. This means
         * that there must be a formatted disk in the drive at boot time.
         * This is bad, but I did not find another way to detect the
@@ -472,7 +472,7 @@
        dl->d_typename[4] = '\0';
        dl->d_secsize = DEV_BSIZE;              /* bytes per sector */
        /*
-        * Fill in some values to have a initialized data structure. Some
+        * Fill in some values to have an initialized data structure. Some
         * values will be reset by rfopen() depending on the actual density.
         */
        dl->d_nsectors = RX2_SECTORS;           /* sectors per track */
@@ -617,7 +617,7 @@
  * and start to process it if there is one.
  * If the bufferqueue is empty, look at the bufferqueue of the other drive
  * that is attached to this controller.
- * Start procesing the bufferqueue of the other drive if it isn't empty.
+ * Start processing the bufferqueue of the other drive if it isn't empty.
  * Return a pointer to the softc structure of the drive that is now
  * ready to process a buffer or NULL if there is no buffer in either queues.
  */
@@ -1011,9 +1011,9 @@
                 * Controller is idle and density is not detected.
                 * Start a density probe by issuing a read sector command
                 * and sleep until the density probe finished.
-                * Due to this it is imposible to open unformatted media.
+                * Due to this it is impossible to open unformatted media.
                 * As the RX02/02 is not able to format its own media,
-                * media must be purchased preformatted. fsck DEC makreting!
+                * media must be purchased preformatted. fsck DEC marketing!
                 */
                RFS_SETCMD(rf_sc->sc_state, RFS_PROBING);
                disk_busy(&rf_sc->sc_disk);



Home | Main Index | Thread Index | Old Index