Message ID | CAOMZO5DZ7Q1KOBC=EbD2RqyZ8VcOkL_tQeVoN_bU5ctyrj0xPw@mail.gmail.com |
---|---|
State | RFC |
Delegated to: | Simon Glass |
Headers | show |
--- a/common/cmd_pci.c +++ b/common/cmd_pci.c @@ -77,7 +77,7 @@ void pciinfo(int BusNum, int ShortPCIListing) ret = pci_read_config_word(dev, PCI_VENDOR_ID, &VendorID); - if (ret) + if (ret && (VendorID != 0xFFFF)) goto error; if ((VendorID == 0xFFFF) || (VendorID == 0x0000)) continue;