From 3a08f9ce41a1451a5cfd83b03ebeb9cac13644ee Mon Sep 17 00:00:00 2001 From: Nick Hibma Date: Mon, 10 Jan 2000 22:33:43 +0000 Subject: [PATCH] Add an extra debugging message. --- sys/dev/usb/ohci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)); }