Hack to add 32 to subordinate
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user