Erk. Actually check all the BARs, not just the first.

This commit is contained in:
Adam Jackson 2008-08-01 16:15:04 -04:00
parent 82d51e6df2
commit d980913f31

View File

@ -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)