aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2025-01-20 15:51:27 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2025-01-23 20:30:31 +0000
commit5884fab46153dee52bda660bcabca95c3cc97f44 (patch)
tree75acbbc420ed98ee12498ec5ca3589e69cb7db18 /sys/dev/pci
parent6651a75af260a1c57b787a8146266de4cecd70cf (diff)
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 0b02d873c5a1..30a95298a114 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -4094,7 +4094,6 @@ pci_add_resources(device_t bus, device_t dev, int force, uint32_t prefetchmask)
pci_add_map(bus, dev, q->arg1, rl, force, 0);
if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline)) {
-#ifdef __PCI_REROUTE_INTERRUPT
/*
* Try to re-route interrupts. Sometimes the BIOS or
* firmware may leave bogus values in these registers.
@@ -4102,9 +4101,6 @@ pci_add_resources(device_t bus, device_t dev, int force, uint32_t prefetchmask)
* have.
*/
pci_assign_interrupt(bus, dev, 1);
-#else
- pci_assign_interrupt(bus, dev, 0);
-#endif
}
if (pci_usb_takeover && pci_get_class(dev) == PCIC_SERIALBUS &&