Erk. Actually check all the BARs, not just the first.
This commit is contained in:
parent
82d51e6df2
commit
d980913f31
|
@ -1556,7 +1556,7 @@ pciDeviceHasBars(struct pci_device *pci)
|
|||
int i;
|
||||
|
||||
for (i = 0; i < 6; i++)
|
||||
if (pci->regions[0].size)
|
||||
if (pci->regions[i].size)
|
||||
return TRUE;
|
||||
|
||||
if (pci->rom_size)
|
||||
|
|
Loading…
Reference in New Issue