diff options
author | Alex Chiang <achiang@hp.com> | 2009-03-20 16:56:31 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-03-20 17:57:58 -0400 |
commit | 705b1aaa823e800490f157cd9366ad8cff385f5f (patch) | |
tree | 634ea8ba227a305074938f49c110fea8e68e8bb3 /Documentation/ABI | |
parent | 3ed4fd96b3188406ac5357d9290bcffa08c65cf6 (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/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-pci | 9 |
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 | ||
60 | What: /sys/bus/pci/rescan | ||
61 | Date: January 2009 | ||
62 | Contact: Linux PCI developers <linux-pci@vger.kernel.org> | ||
63 | Description: | ||
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 | |||
60 | What: /sys/bus/pci/devices/.../vpd | 69 | What: /sys/bus/pci/devices/.../vpd |
61 | Date: February 2008 | 70 | Date: February 2008 |
62 | Contact: Ben Hutchings <bhutchings@solarflare.com> | 71 | Contact: Ben Hutchings <bhutchings@solarflare.com> |