summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-01-02 16:02:48 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-01-02 20:08:45 +0100
commitb8fdffc2877992e5c5121bb7e011561581691d14 (patch)
treedf67652cc18d280f43e00c7c0e7205a8b0516ad1 /device
parent0e2ab14cc24de704b00f63d1f47cf93245aa5d32 (diff)
device: Fix typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'device')
-rw-r--r--device/dev_name.c2
-rw-r--r--device/net_io.c2
-rw-r--r--device/tty.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/device/dev_name.c b/device/dev_name.c
index 5bf62a0..175e389 100644
--- a/device/dev_name.c
+++ b/device/dev_name.c
@@ -207,7 +207,7 @@ boolean_t dev_name_lookup(
}
*unit += (slice_num << 4);
- /* if slice==0, it is either compatability or whole device */
+ /* if slice==0, it is either compatibility or whole device */
if (c >= 'a' && c < 'a' + j) { /* note: w/o this -> whole slice */
/*
diff --git a/device/net_io.c b/device/net_io.c
index a9d318e..d2928cc 100644
--- a/device/net_io.c
+++ b/device/net_io.c
@@ -640,7 +640,7 @@ net_packet(
* Do a quick check to see if it is a kernel TTD packet.
*
* Only check if KernelTTD is enabled, ie. the current
- * device driver supports TTD, and the bootp succeded.
+ * device driver supports TTD, and the bootp succeeded.
*/
if (kttd_enabled && kttd_handle_async(kmsg)) {
/*
diff --git a/device/tty.h b/device/tty.h
index a931e33..d7aa2ad 100644
--- a/device/tty.h
+++ b/device/tty.h
@@ -184,7 +184,7 @@ extern boolean_t tty_portdeath(
#define TS_TRANSLATE 0x00100000 /* translation device enabled */
#define TS_KDB 0x00200000 /* should enter kdb on ALT */
-#define TS_MIN_TO_RCV 0x00400000 /* character recived during
+#define TS_MIN_TO_RCV 0x00400000 /* character received during
receive timeout interval */
/* flags - old names defined in terms of new ones */