summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-12-07 18:47:09 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-12-07 18:47:09 +0000
commit233f413a8d04b1866ed60d4d4ab0a70af9d654e7 (patch)
treed52d4a2da07c6965cf7a4cd081d08d4e92044cb4 /sys/dev
parentb3fc9268876dd2cdd136d17165de0aca54431366 (diff)
typos in comments: recieve -> receive.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_cdcef.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/if_cdcef.c b/sys/dev/usb/if_cdcef.c
index f934988c1ec..80ae2c55bc1 100644
--- a/sys/dev/usb/if_cdcef.c
+++ b/sys/dev/usb/if_cdcef.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cdcef.c,v 1.23 2008/11/29 10:24:33 matthieu Exp $ */
+/* $OpenBSD: if_cdcef.c,v 1.24 2008/12/07 18:47:08 matthieu Exp $ */
/*
* Copyright (c) 2007 Dale Rahn <drahn@openbsd.org>
@@ -290,7 +290,7 @@ cdcef_start(struct ifnet *ifp)
if (sc->sc_listening == 0 || m_head->m_pkthdr.len > CDCEF_BUFSZ) {
/*
- * drop packet because reciever is not listening,
+ * drop packet because receiver is not listening,
* or if packet is larger than xmit buffer
*/
IFQ_DEQUEUE(&ifp->if_snd, m_head);
@@ -530,7 +530,7 @@ cdcef_watchdog(struct ifnet *ifp)
ifp->if_timer = 0;
ifp->if_flags &= ~IFF_OACTIVE;
- /* cancel recieve pipe? */
+ /* cancel receive pipe? */
usbf_abort_pipe(sc->sc_pipe_in); /* in is tx pipe */
splx(s);
}
@@ -582,7 +582,7 @@ cdcef_stop(struct cdcef_softc *sc)
ifp->if_timer = 0;
ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);
- /* cancel recieve pipe? */
+ /* cancel receive pipe? */
if (sc->sc_xmit_mbuf != NULL) {
m_freem(sc->sc_xmit_mbuf);