mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Erk. Actually check all the BARs, not just the first.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user