1PCI_STOP_AND_REMOVE_(9) Hardware Interfaces PCI_STOP_AND_REMOVE_(9)
2
3
4
6 pci_stop_and_remove_bus_device - remove a PCI device and any children
7
9 void pci_stop_and_remove_bus_device(struct pci_dev * dev);
10
12 dev
13 the device to remove
14
16 Remove a PCI device from the device lists, informing the drivers that
17 the device has been removed. We also remove any subordinate buses and
18 children in a depth-first manner.
19
20 For each device we remove, delete the device structure from the device
21 lists, remove the /proc entry, and notify userspace (/sbin/hotplug).
22
24Kernel Hackers Manual 3.10 June 2019 PCI_STOP_AND_REMOVE_(9)