Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/21449caae11f
branches:  trunk
changeset: 361109:21449caae11f
user:      andvar <andvar%NetBSD.org@localhost>
date:      Wed Feb 09 22:30:26 2022 +0000

description:
fix various typos in comments.

diffstat:

 sys/arch/macppc/dev/pm_direct.c  |   6 +++---
 sys/arch/mvme68k/dev/sbic.c      |   8 ++++----
 sys/compat/ultrix/ultrix_ioctl.c |   6 +++---
 sys/dev/ic/wd33c93.c             |  10 +++++-----
 4 files changed, 15 insertions(+), 15 deletions(-)

diffs (132 lines):

diff -r 1507ac53b756 -r 21449caae11f sys/arch/macppc/dev/pm_direct.c
--- a/sys/arch/macppc/dev/pm_direct.c   Wed Feb 09 21:50:24 2022 +0000
+++ b/sys/arch/macppc/dev/pm_direct.c   Wed Feb 09 22:30:26 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pm_direct.c,v 1.37 2009/03/18 10:22:32 cegger Exp $    */
+/*     $NetBSD: pm_direct.c,v 1.38 2022/02/09 22:30:26 andvar Exp $    */
 
 /*
  * Copyright (C) 1997 Takashi Hamada
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pm_direct.c,v 1.37 2009/03/18 10:22:32 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pm_direct.c,v 1.38 2022/02/09 22:30:26 andvar Exp $");
 
 #ifdef DEBUG
 #ifndef ADB_DEBUG
@@ -575,7 +575,7 @@
        s = splhigh();
 
        PM_VIA_CLR_INTR();                      /* clear VIA1 interrupt */
-                                               /* ask PM what happend */
+                                               /* ask PM what happened */
        pmdata.command = PMU_INT_ACK;
        pmdata.num_data = 0;
        pmdata.s_buf = &pmdata.data[2];
diff -r 1507ac53b756 -r 21449caae11f sys/arch/mvme68k/dev/sbic.c
--- a/sys/arch/mvme68k/dev/sbic.c       Wed Feb 09 21:50:24 2022 +0000
+++ b/sys/arch/mvme68k/dev/sbic.c       Wed Feb 09 22:30:26 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbic.c,v 1.35 2018/03/08 03:12:02 mrg Exp $    */
+/*     $NetBSD: sbic.c,v 1.36 2022/02/09 22:30:26 andvar Exp $ */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.35 2018/03/08 03:12:02 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.36 2022/02/09 22:30:26 andvar Exp $");
 
 #include "opt_ddb.h"
 
@@ -1061,7 +1061,7 @@
         * We only really need to do anything when the target goes to MSG out
         * If the device ignored ATN, it's probably old and brain-dead,
         * but we'll try to support it anyhow.
-        * If it doesn't support message out, it definately doesn't
+        * If it doesn't support message out, it definitely doesn't
         * support synchronous transfers, so no point in even asking...
         */
        if (csr == (SBIC_CSR_MIS_2 | MESG_OUT_PHASE)) {
@@ -2368,7 +2368,7 @@
                        }
 
                        /*
-                        * If we didn't get an interrupt, somethink's up
+                        * If we didn't get an interrupt, something's up
                         */
                        if ((asr & SBIC_ASR_INT) == 0) {
                                printf("%s: Reselect without identify?"
diff -r 1507ac53b756 -r 21449caae11f sys/compat/ultrix/ultrix_ioctl.c
--- a/sys/compat/ultrix/ultrix_ioctl.c  Wed Feb 09 21:50:24 2022 +0000
+++ b/sys/compat/ultrix/ultrix_ioctl.c  Wed Feb 09 22:30:26 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ultrix_ioctl.c,v 1.39 2021/09/07 11:43:05 riastradh Exp $ */
+/*     $NetBSD: ultrix_ioctl.c,v 1.40 2022/02/09 22:30:27 andvar Exp $ */
 /*     from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */
 
 /*
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ultrix_ioctl.c,v 1.39 2021/09/07 11:43:05 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_ioctl.c,v 1.40 2022/02/09 22:30:27 andvar Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_ultrix.h"
@@ -135,7 +135,7 @@
  *
  * I don't know what optimizer you used, but seeing divu's and
  * bfextu's in the m68k assembly output did not encourage me...
- * as well, gcc on the sparc definately generates much better
+ * as well, gcc on the sparc definitely generates much better
  * code with ?:.
  */
 
diff -r 1507ac53b756 -r 21449caae11f sys/dev/ic/wd33c93.c
--- a/sys/dev/ic/wd33c93.c      Wed Feb 09 21:50:24 2022 +0000
+++ b/sys/dev/ic/wd33c93.c      Wed Feb 09 22:30:26 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wd33c93.c,v 1.31 2021/08/21 11:55:25 andvar Exp $      */
+/*     $NetBSD: wd33c93.c,v 1.32 2022/02/09 22:30:27 andvar Exp $      */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd33c93.c,v 1.31 2021/08/21 11:55:25 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd33c93.c,v 1.32 2022/02/09 22:30:27 andvar Exp $");
 
 #include "opt_ddb.h"
 
@@ -1084,12 +1084,12 @@
         * We only really need to do anything when the target goes to MSG out
         * If the device ignored ATN, it's probably old and brain-dead,
         * but we'll try to support it anyhow.
-        * If it doesn't support message out, it definately doesn't
+        * If it doesn't support message out, it definitely doesn't
         * support synchronous transfers, so no point in even asking...
         */
        if (csr == (SBIC_CSR_MIS_2 | MESG_OUT_PHASE)) {
                if (ti->flags & T_NEGOTIATE) {
-                       /* Inititae a SDTR message */
+                       /* Initiate a SDTR message */
                        SBIC_DEBUG(SYNC, ("Sending SDTR to target %d\n", id));
                        if (ti->flags & T_WANTSYNC) {
                                ti->period = sc->sc_minsyncperiod;
@@ -2093,7 +2093,7 @@
                                DELAY(10);
                        }
 
-                       /* If we didn't get an interrupt, somethink's up */
+                       /* If we didn't get an interrupt, something's up */
                        if ((asr & SBIC_ASR_INT) == 0) {
                                printf("%s: Reselect without identify? asr %x\n",
                                    device_xname(sc->sc_dev), asr);



Home | Main Index | Thread Index | Old Index