summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2004-08-11 04:25:54 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2004-08-11 04:25:54 +0000
commit9bd6765ab2d9d95a9c0208f9815e4e271670089a (patch)
tree320764ef5cd2f4f28458163ae14e11409e0e097f /sys/dev/usb
parent6587eca3d9a829439764929dee2f5ea732a40739 (diff)
from netbsd, uhci.c revision 1.175, 1.179, 1.181
log message for 1.175: Tweak a debugging printf(). log message for 1.179: Make one message dependent on ohcidebug, so it doesn't interfere with polled operation; e.g. when entering a root device or in DDB. log message for 1.181: typo in comment
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/uhci.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 4f26a1a577b..0ea9ff16c98 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhci.c,v 1.35 2004/08/11 04:24:27 dlg Exp $ */
+/* $OpenBSD: uhci.c,v 1.36 2004/08/11 04:25:53 dlg Exp $ */
/* $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
@@ -110,7 +110,7 @@ int uhcinoloop = 0;
/*
* The UHCI controller is little endian, so on big endian machines
- * the data strored in memory needs to be swapped.
+ * the data stored in memory needs to be swapped.
*/
#if defined(__FreeBSD__)
#if BYTE_ORDER == BIG_ENDIAN
@@ -1177,10 +1177,9 @@ uhci_intr(void *arg)
if (sc->sc_dying)
return (0);
- DPRINTFN(15,("uhci_intr: real interrupt\n"));
if (sc->sc_bus.use_polling) {
#ifdef DIAGNOSTIC
- printf("uhci_intr: ignored interrupt while polling\n");
+ DPRINTFN(16, ("uhci_intr: ignored interrupt while polling\n"));
#endif
return (0);
}
@@ -1250,7 +1249,7 @@ uhci_intr1(uhci_softc_t *sc)
sc->sc_bus.no_intrs++;
usb_schedsoftintr(&sc->sc_bus);
- DPRINTFN(10, ("%s: uhci_intr: exit\n", USBDEVNAME(sc->sc_bus.bdev)));
+ DPRINTFN(15, ("%s: uhci_intr: exit\n", USBDEVNAME(sc->sc_bus.bdev)));
return (1);
}