make pci_scan take an extra arg