xhci(4): Don't allocate an IRQ vector if hw.usb.xhci.use_polling=1 is set.
This is useful for debugging purposes. MFC after: 1 week Sponsored by: NVIDIA Networking
This commit is contained in:
parent
e32e6e42fa
commit
3346ae0d24
@ -402,7 +402,7 @@ xhci_pci_attach(device_t self)
|
||||
break;
|
||||
}
|
||||
|
||||
if (sc->sc_irq_res != NULL) {
|
||||
if (sc->sc_irq_res != NULL && xhci_use_polling() == 0) {
|
||||
err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE,
|
||||
NULL, (driver_intr_t *)xhci_interrupt, sc, &sc->sc_intr_hdl);
|
||||
if (err != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user