PCI: Introduce /sys/bus/pci/rescan
This interface allows the user to force a rescan of all PCI buses in system, and rediscover devices that have been removed earlier. pci_bus_attrs implementation from Trent Piepho. Thanks to Vegard Nossum for discovering locking issues with the sysfs interface. Cc: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by:Alex Chiang <achiang@hp.com> Signed-off-by:
Jesse Barnes <jbarnes@virtuousgeek.org>
Showing
- Documentation/ABI/testing/sysfs-bus-pci 9 additions, 0 deletionsDocumentation/ABI/testing/sysfs-bus-pci
- drivers/pci/pci-driver.c 1 addition, 0 deletionsdrivers/pci/pci-driver.c
- drivers/pci/pci-sysfs.c 26 additions, 0 deletionsdrivers/pci/pci-sysfs.c
- drivers/pci/pci.h 6 additions, 0 deletionsdrivers/pci/pci.h
- drivers/pci/probe.c 2 additions, 2 deletionsdrivers/pci/probe.c
Loading
Please register or sign in to comment