pci_scan_slot (9) - Linux Manuals
pci_scan_slot: scan a PCI slot on a bus for devices.
pci_scan_slot - scan a PCI slot on a bus for devices.
int pci_scan_slot(struct pci_bus
* bus, int devfn);
- PCI bus to scan
- slot number to scan (must have zero function.)
Scan a PCI slot on the specified PCI bus for devices, adding discovered devices to the bus->devices list. New devices will not have is_added set.