Name

pci_reset_bus — reset a PCI bus

Synopsis

int pci_reset_bus (struct pci_bus * bus);
 

Arguments

struct pci_bus * bus

top level PCI bus to reset

Description

Do a bus reset on the given bus and any subordinate buses, saving and restoring state of all devices.

Return 0 on success, non-zero on error.