summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjakllsch <jakllsch@NetBSD.org>2011-11-27 18:17:08 +0000
committerjakllsch <jakllsch@NetBSD.org>2011-11-27 18:17:08 +0000
commitabe36ff77ff9948a4db8aacb2a500a633c77f608 (patch)
tree2f5a0f077c37dc834b3ef3239389ee59308d1df3 /sys/dev
parent9b8cca0932c3e81ac8ac9abf920edd1f7ace92d2 (diff)
more whitespace and comment spelling fixes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/com.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c
index 2da5ccd7172..db1554e35eb 100644
--- a/sys/dev/ic/com.c
+++ b/sys/dev/ic/com.c
@@ -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 @@ com_detach(device_t self, int flags)
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 @@ com_detach(device_t self, int flags)
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 @@ again: do {
/*
* 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);