]> git.baikalelectronics.ru Git - kernel.git/commit
PCI hotplug: create symlink to hotplug driver module
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 16 Jun 2009 02:01:25 +0000 (11:01 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Jun 2009 21:30:11 +0000 (14:30 -0700)
commitf634c1e5d1b6e4baf1c846e5d2ac9f892f4710c8
tree6e5800fe52e0f94f42fdcd4c327b8cfaf803978a
parent6d4fd6ef425f47b92f875bbdf6a847cd2a827648
PCI hotplug: create symlink to hotplug driver module

Create symbolic link to hotplug driver module in the PCI slot
directory (/sys/bus/pci/slots/<SLOT#>). In the past, we need to load
hotplug drivers one by one to identify the hotplug driver that handles
the slot, and it was very inconvenient especially for trouble shooting.
With this change, we can easily identify the hotplug driver.

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Reviewed-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Documentation/ABI/testing/sysfs-bus-pci
drivers/pci/hotplug/pci_hotplug_core.c
drivers/pci/slot.c
include/linux/pci.h
include/linux/pci_hotplug.h