summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-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));
}