--- Gnu-Mach/linux/src/drivers/pci/pci.c 2020/09/02 04:41:39 1.1.1.1 +++ Gnu-Mach/linux/src/drivers/pci/pci.c 2020/09/02 04:46:21 1.1.1.2 @@ -1121,10 +1121,8 @@ static unsigned int scan_bus(struct pci_ pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, &l); /* some broken boards return 0 if a slot is empty: */ - if (l == 0xffffffff || l == 0x00000000) { - is_multi = 0; + if (l == 0xffffffff || l == 0x00000000 || l == 0x0000ffff || l == 0xffff0000) continue; - } dev = pci_malloc(sizeof(*dev), mem_startp); dev->bus = bus;