1PCI_RESET_SLOT(9) Hardware Interfaces PCI_RESET_SLOT(9)
2
3
4
6 pci_reset_slot - reset a PCI slot
7
9 int pci_reset_slot(struct pci_slot * slot);
10
12 slot
13 PCI slot to reset
14
16 A PCI bus may host multiple slots, each slot may support a reset
17 mechanism independent of other slots. For instance, some slots may
18 support slot power control. In the case of a 1:1 bus to slot
19 architecture, this function may wrap the bus reset to avoid spurious
20 slot related events such as hotplug. Generally a slot reset should be
21 attempted before a bus reset. All of the function of the slot and any
22 subordinate buses behind the slot are reset through this function. PCI
23 config space of all devices in the slot and behind the slot is saved
24 before and restored after reset.
25
26 Return 0 on success, non-zero on error.
27
29Kernel Hackers Manual 3.10 June 2019 PCI_RESET_SLOT(9)