aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>2000-01-10 22:33:43 +0000
committerNick Hibma <n_hibma@FreeBSD.org>2000-01-10 22:33:43 +0000
commit3a08f9ce41a1451a5cfd83b03ebeb9cac13644ee (patch)
treed594a0c5c9bc69fd0485118cb0758d9b2c995b79 /sys
parent57d56d6643d52a7d653d46a45cbe5efc9cb5ecc7 (diff)
downloadsrc-3a08f9ce41a1451a5cfd83b03ebeb9cac13644ee.tar.gz
src-3a08f9ce41a1451a5cfd83b03ebeb9cac13644ee.zip
Add an extra debugging message.
Notes
Notes: svn path=/head/; revision=55786
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ohci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index 543f3558fb23..3bbc809061ec 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -800,8 +800,11 @@ ohci_intr(p)
ohci_softc_t *sc = p;
/* If we get an interrupt while polling, then just ignore it. */
- if (sc->sc_bus.use_polling)
+ if (sc->sc_bus.use_polling) {
+ DPRINTF(("%s: Ignored interrupt while polling",
+ USBDEVNAME(sc->sc_bus.bdev)));
return (0);
+ }
return (ohci_intr1(sc));
}