diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-08-23 01:16:10 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-08-23 01:16:10 +0000 |
| commit | 1ef4734b8af76d56cdb9073eb0c82e1fe62cc382 (patch) | |
| tree | e319e3bacdfcc105f4df2969d27d0bf8a7d47219 /sys/dev | |
| parent | dae6dcff3f72a5891031431729187120e9156a73 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/ohci.c | 6 | ||||
| -rw-r--r-- | sys/dev/usb/uhci.c | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 961088f1be58..38dab89b7cfc 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -1034,12 +1034,8 @@ ohci_intr1(sc) intrs = OREAD4(sc, OHCI_INTERRUPT_STATUS); } - if (intrs == 0) { - /* nothing to be done ?! */ - printf("%s: interrupt, but not for us\n", - USBDEVNAME(sc->sc_bus.bdev)); + if (intrs == 0) /* nothing to be done (PCI shared interrupt) */ return (0); - } intrs &= ~OHCI_MIE; /* mask out Master Interrupt Enable */ diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index d6b68c6b9ce1..5ae607007f58 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -934,7 +934,7 @@ uhci_intr(void *arg) #endif status = UREAD2(sc, UHCI_STS); - if (status == 0) /* The interrupt was not for us. */ + if (status == 0) /* nothing to be done (PCI shared interrupt) */ return (0); #if defined(DIAGNOSTIC) && defined(__NetBSD__) |
