diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h --- a/sys/amd64/include/param.h +++ b/sys/amd64/include/param.h @@ -48,7 +48,6 @@ */ #define __HAVE_ACPI -#define __PCI_REROUTE_INTERRUPT #ifndef MACHINE #define MACHINE "amd64" diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h --- a/sys/arm/include/param.h +++ b/sys/arm/include/param.h @@ -49,8 +49,6 @@ #define STACKALIGNBYTES (8 - 1) #define STACKALIGN(p) ((u_int)(p) & ~STACKALIGNBYTES) -#define __PCI_REROUTE_INTERRUPT - #ifndef MACHINE #define MACHINE "arm" #endif diff --git a/sys/arm64/include/param.h b/sys/arm64/include/param.h --- a/sys/arm64/include/param.h +++ b/sys/arm64/include/param.h @@ -43,8 +43,6 @@ #define STACKALIGNBYTES (16 - 1) #define STACKALIGN(p) ((uint64_t)(p) & ~STACKALIGNBYTES) -#define __PCI_REROUTE_INTERRUPT - #ifndef MACHINE #define MACHINE "arm64" #endif diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -4094,7 +4094,6 @@ 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 @@ * 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 && diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h --- a/sys/i386/include/param.h +++ b/sys/i386/include/param.h @@ -43,7 +43,6 @@ #define __HAVE_ACPI #define __HAVE_PIR -#define __PCI_REROUTE_INTERRUPT #ifndef MACHINE #define MACHINE "i386" diff --git a/sys/powerpc/include/param.h b/sys/powerpc/include/param.h --- a/sys/powerpc/include/param.h +++ b/sys/powerpc/include/param.h @@ -46,9 +46,6 @@ #include -/* Needed to display interrupts on OFW PCI */ -#define __PCI_REROUTE_INTERRUPT - #ifndef MACHINE #define MACHINE "powerpc" #endif diff --git a/sys/riscv/include/param.h b/sys/riscv/include/param.h --- a/sys/riscv/include/param.h +++ b/sys/riscv/include/param.h @@ -39,8 +39,6 @@ #define STACKALIGNBYTES (16 - 1) #define STACKALIGN(p) ((uint64_t)(p) & ~STACKALIGNBYTES) -#define __PCI_REROUTE_INTERRUPT - #ifndef MACHINE #define MACHINE "riscv" #endif