mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Calculate routed interrupts using the slot number from the device and
not that of the bridge. Approved by: re (jhb)
This commit is contained in:
parent
386024a294
commit
cdc95e1bb8
1 changed files with 1 additions and 1 deletions
|
|
@ -495,7 +495,7 @@ pcib_route_interrupt(device_t pcib, device_t dev, int pin)
|
|||
*
|
||||
* parent_intpin = (device + child_intpin) % 4
|
||||
*/
|
||||
parent_intpin = (pci_get_slot(pcib) + (pin - 1)) % 4;
|
||||
parent_intpin = (pci_get_slot(dev) + (pin - 1)) % 4;
|
||||
|
||||
/*
|
||||
* Our parent is a PCI bus. Its parent must export the pcib interface
|
||||
|
|
|
|||
Loading…
Reference in a new issue