summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-10-28 20:24:50 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-10-28 20:24:50 +0000
commitb7001e08baec70d0361ea5939a936e851ad199ba (patch)
tree16b1a6f4b0158b469800cd2500610713bbf5e2d3 /sys/dev/usb/uhci.c
parentf2b9562c539ba7f74095e0ae94b3c2c86ba7757f (diff)
Notes
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index eb46e86fa670..411f80931350 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1552,7 +1552,7 @@ uhci_waitintr(uhci_softc_t *sc, usbd_xfer_handle xfer)
for (; timo >= 0; timo--) {
usb_delay_ms(&sc->sc_bus, 1);
DPRINTFN(20,("uhci_waitintr: 0x%04x\n", UREAD2(sc, UHCI_STS)));
- if (UREAD2(sc, UHCI_STS) & UHCI_STS_USBINT)
+ if (UREAD2(sc, UHCI_STS) & UHCI_STS_ALLINTRS)
uhci_intr1(sc);
if (xfer->status != USBD_IN_PROGRESS)
return;
@@ -1576,7 +1576,7 @@ uhci_poll(struct usbd_bus *bus)
{
uhci_softc_t *sc = (uhci_softc_t *)bus;
- if (UREAD2(sc, UHCI_STS) & UHCI_STS_USBINT)
+ if (UREAD2(sc, UHCI_STS) & UHCI_STS_ALLINTRS)
uhci_intr1(sc);
}