* we will only call this case when lookup fails.
*/
n = pci_scan_slot(slot->bus, slot->devfn);
* we will only call this case when lookup fails.
*/
n = pci_scan_slot(slot->bus, slot->devfn);
slot->dev = pci_get_slot(slot->bus, slot->devfn);
if (slot->dev == NULL) {
err("Could not find PCI device for slot %02x", slot->number);
slot->dev = pci_get_slot(slot->bus, slot->devfn);
if (slot->dev == NULL) {
err("Could not find PCI device for slot %02x", slot->number);