Use pci_find_bus rather than relying on the return value of pci_scan_bus.
Attach a file by drag & drop or click to upload