diff --git a/src/device/pci_device.c b/src/device/pci_device.c index b5dd256031..861ed4a924 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -1218,6 +1218,11 @@ static void pci_bridge_route(struct bus *link, scan_state state) if (state == PCI_ROUTE_SCAN) { link->secondary = parent->subordinate + 1; link->subordinate = link->secondary; + + if (dev->vendor == 0x8086 && dev->device == 0x15e7 && PCI_SLOT(dev->path.pci.devfn) == 1) { + printk(BIOS_DEBUG, "system76: HACK: add 32 to subordinate\n"); + link->subordinate += 32; + } printk(BIOS_DEBUG, "system76: pci_bridge_route: assigning link secondary %d subordinate %d\n", link->secondary, link->subordinate); }