mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not printf when we get called as a result of a pci shared interrupt,
and add a comment to that effect.
This commit is contained in:
parent
dae6dcff3f
commit
1ef4734b8a
2 changed files with 2 additions and 6 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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__)
|
||||
|
|
|
|||
Loading…
Reference in a new issue