git: 680d34896c36 - main - Revert "pci: Only re-route IRQs based on firmware on x86"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Mar 2025 21:01:14 UTC
The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=680d34896c3672da439a1bc3ca5711339e6e5f01 commit 680d34896c3672da439a1bc3ca5711339e6e5f01 Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2025-03-31 21:00:36 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2025-03-31 21:01:09 +0000 Revert "pci: Only re-route IRQs based on firmware on x86" This reverts commit 0e33c2e6df7a5de65db40c7cc0fc97f66da28ccd. --- sys/dev/pci/pci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 3a51e4c38296..fe99d6beb029 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -4175,7 +4175,6 @@ pci_add_resources(device_t bus, device_t dev, int force, uint32_t prefetchmask) if (q->devid == devid && q->type == PCI_QUIRK_MAP_REG) pci_add_map(bus, dev, q->arg1, rl, force, 0); -#if defined(__i386__) || defined(__amd64__) if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline)) { /* * Try to re-route interrupts. Sometimes the BIOS or @@ -4185,7 +4184,6 @@ pci_add_resources(device_t bus, device_t dev, int force, uint32_t prefetchmask) */ pci_assign_interrupt(bus, dev, 1); } -#endif if (pci_usb_takeover && pci_get_class(dev) == PCIC_SERIALBUS && pci_get_subclass(dev) == PCIS_SERIALBUS_USB) {