diff options
author | 2004-08-11 04:25:53 +0000 | |
---|---|---|
committer | 2004-08-11 04:25:53 +0000 | |
commit | fab26f8ad001cc99103444576982ee29b786b94a (patch) | |
tree | 0bc3d8169a85ee0a61332902843f98d7b4c222b5 /sys/dev/usb/uhci.c | |
parent | from netbsd, uhci.c revision 1.180 (diff) | |
download | wireguard-openbsd-fab26f8ad001cc99103444576982ee29b786b94a.tar.xz wireguard-openbsd-fab26f8ad001cc99103444576982ee29b786b94a.zip |
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/uhci.c')
-rw-r--r-- | sys/dev/usb/uhci.c | 9 |
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); } |