1PCI_SCAN_SLOT(9) Hardware Interfaces PCI_SCAN_SLOT(9)
2
3
4
6 pci_scan_slot - scan a PCI slot on a bus for devices.
7
9 int pci_scan_slot(struct pci_bus * bus, int devfn);
10
12 bus
13 PCI bus to scan
14
15 devfn
16 slot number to scan (must have zero function.)
17
19 Scan a PCI slot on the specified PCI bus for devices, adding discovered
20 devices to the bus->devices list. New devices will not have is_added
21 set.
22
23 Returns the number of new devices found.
24
26Kernel Hackers Manual 3.10 June 2019 PCI_SCAN_SLOT(9)