Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic more whitespace and comment spelling fixes



details:   https://anonhg.NetBSD.org/src/rev/b7e3e7bc1933
branches:  trunk
changeset: 771660:b7e3e7bc1933
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Nov 27 18:17:08 2011 +0000

description:
more whitespace and comment spelling fixes

diffstat:

 sys/dev/ic/com.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 9c0178172e33 -r b7e3e7bc1933 sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Sun Nov 27 15:28:26 2011 +0000
+++ b/sys/dev/ic/com.c  Sun Nov 27 18:17:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.302 2011/11/27 15:28:26 jakllsch Exp $ */
+/* $NetBSD: com.c,v 1.303 2011/11/27 18:17:08 jakllsch Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.302 2011/11/27 15:28:26 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.303 2011/11/27 18:17:08 jakllsch Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"
@@ -641,7 +641,7 @@
        if (ISSET(sc->sc_hwflags, COM_HW_KGDB))
                return EBUSY;
 
-        if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE) &&
+       if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE) &&
            (flags & DETACH_SHUTDOWN) != 0)
                return EBUSY;
 
@@ -650,7 +650,7 @@
                sc->enabled = 0;
        }
 
-        if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
+       if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
                comconsattached = 0;
                cn_tab = NULL;
        }
@@ -2012,7 +2012,7 @@
            /*
             * Since some device (e.g., ST16C1550) doesn't clear IIR_TXRDY
             * by IIR read, so we can't do this way: `process all interrupts,
-            * then do TX if possble'.
+            * then do TX if possible'.
             */
            (iir & IIR_IMASK) != IIR_TXRDY);
 



Home | Main Index | Thread Index | Old Index