mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 07:38:22 +02:00
Erk. Actually check all the BARs, not just the first.
This commit is contained in:
parent
82d51e6df2
commit
d980913f31
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue