diff options
| author | Bernd Walter <ticso@FreeBSD.org> | 2003-05-22 17:45:26 +0000 |
|---|---|---|
| committer | Bernd Walter <ticso@FreeBSD.org> | 2003-05-22 17:45:26 +0000 |
| commit | cdc95e1bb810a36cd59c3ec47c721f817246253e (patch) | |
| tree | 9d46729110379dd2938a0230df4529b5e7c58c74 /sys/dev/pci | |
| parent | 386024a29412df042196b7ed8ce228cec833b637 (diff) | |
Notes
Diffstat (limited to 'sys/dev/pci')
| -rw-r--r-- | sys/dev/pci/pci_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index 71d814caf6bc..cc113ab2c48a 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -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 |
