Fix PCI bus scan on ia64 E8870 chipsets.

This commit is contained in:
Adam Jackson 2005-10-19 22:30:09 +00:00
parent 5744308e29
commit af211a9bc1

View File

@ -427,7 +427,7 @@ xf86GetPciDomain(PCITAG Tag)
if (pPCI && (result = PCI_DOM_FROM_BUS(pPCI->busnum)))
return result;
if (pPCI->fakeDevice)
if (!pPCI || pPCI->fakeDevice)
return 1; /* Domain 0 is reserved */
if ((fd = linuxPciOpenFile(pPCI ? pPCI->tag : 0,FALSE)) < 0)