aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2009-03-20 16:56:31 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 17:57:58 -0400
commit705b1aaa823e800490f157cd9366ad8cff385f5f (patch)
tree634ea8ba227a305074938f49c110fea8e68e8bb3 /Documentation
parent3ed4fd96b3188406ac5357d9290bcffa08c65cf6 (diff)
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-pci9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci
index d175a2a5fac2..e6ad047cb3c2 100644
--- a/Documentation/ABI/testing/sysfs-bus-pci
+++ b/Documentation/ABI/testing/sysfs-bus-pci
@@ -57,6 +57,15 @@ Description:
57 match the driver to the device. For example: 57 match the driver to the device. For example:
58 # echo "8086 10f5" > /sys/bus/pci/drivers/foo/remove_id 58 # echo "8086 10f5" > /sys/bus/pci/drivers/foo/remove_id
59 59
60What: /sys/bus/pci/rescan
61Date: January 2009
62Contact: Linux PCI developers <linux-pci@vger.kernel.org>
63Description:
64 Writing a non-zero value to this attribute will
65 force a rescan of all PCI buses in the system, and
66 re-discover previously removed devices.
67 Depends on CONFIG_HOTPLUG.
68
60What: /sys/bus/pci/devices/.../vpd 69What: /sys/bus/pci/devices/.../vpd
61Date: February 2008 70Date: February 2008
62Contact: Ben Hutchings <bhutchings@solarflare.com> 71Contact: Ben Hutchings <bhutchings@solarflare.com>