Invert the logic error for the MSI/MSIX vs INTx case.
Pointyhat to: me MFC after: 3 days
This commit is contained in:
parent
227e568e30
commit
41b3a23249
@ -2920,7 +2920,7 @@ pci_teardown_intr(device_t dev, device_t child, struct resource *irq,
|
||||
return(bus_generic_teardown_intr(dev, child, irq, cookie));
|
||||
|
||||
rid = rman_get_rid(irq);
|
||||
if (rid > 0) {
|
||||
if (rid == 0) {
|
||||
/* Mask INTx */
|
||||
pci_set_command_bit(dev, child, PCIM_CMD_INTxDIS);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user