summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-05 22:41:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-05 22:41:38 +0000
commitf79f7a68f5ed63574a184a8f72f6528b044126a4 (patch)
tree0ded9bafc8f500917a954e1cb3b866f8b9d6eaa9 /sys/dev/usb
parent06f022e0504b6deb380869038d86cdf88120a950 (diff)
spelling
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/umass.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index 121417ccd9c..83d582ce726 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umass.c,v 1.20 2002/12/15 20:53:32 krw Exp $ */
+/* $OpenBSD: umass.c,v 1.21 2003/01/05 22:41:36 deraadt Exp $ */
/* $NetBSD: umass.c,v 1.49 2001/01/21 18:56:38 augustss Exp $ */
/*-
* Copyright (c) 1999 MAEKAWA Masahide <bishop@rr.iij4u.or.jp>,
@@ -1694,13 +1694,13 @@ umass_bbb_state(usbd_xfer_handle xfer, usbd_private_handle priv,
umass_dump_buffer(sc, sc->transfer_data,
sc->transfer_datalen, 48));
- /* FALLTHROUGH, err == 0 (no data phase or successfull) */
+ /* FALLTHROUGH, err == 0 (no data phase or successful) */
case TSTATE_BBB_DCLEAR: /* stall clear after data phase */
case TSTATE_BBB_SCLEAR: /* stall clear after status phase */
/* Reading of CSW after bulk stall condition in data phase
* (TSTATE_BBB_DATA2) or bulk-in stall condition after
* reading CSW (TSTATE_BBB_SCLEAR).
- * In the case of no data phase or successfull data phase,
+ * In the case of no data phase or successful data phase,
* err == 0 and the following if block is passed.
*/
if (err) { /* should not occur */
@@ -1717,7 +1717,7 @@ umass_bbb_state(usbd_xfer_handle xfer, usbd_private_handle priv,
if (sc->transfer_state == TSTATE_BBB_COMMAND ||
sc->transfer_state == TSTATE_BBB_DATA ||
sc->transfer_state == TSTATE_BBB_DCLEAR) {
- /* After no data phase, successfull data phase and
+ /* After no data phase, successful data phase and
* after clearing bulk-in/-out stall condition
*/
sc->transfer_state = TSTATE_BBB_STATUS1;
@@ -2198,7 +2198,7 @@ umass_cbi_state(usbd_xfer_handle xfer, usbd_private_handle priv,
else
status = STATUS_CMD_FAILED;
- /* No sense, command successfull */
+ /* No sense, command successful */
} else {
/* Command Interrupt Data Block */
DPRINTF(UDMASS_CBI, ("%s: type=0x%02x, value=0x%02x\n",