dock: introduce .uevent for devices in dock, eg libata
authorShaohua Li <shaohua.li@intel.com>
Thu, 28 Aug 2008 02:06:16 +0000 (10:06 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 24 Sep 2008 03:23:00 +0000 (23:23 -0400)
commit1253f7aabfebc51446dbec5c8895c5c8846dfe06
treedd365b884581931ab01473307d519d277cbffaa4
parentf730ae1838635a02aa60834762c61566911d004c
dock: introduce .uevent for devices in dock, eg libata

dock's uevent reported itself, not ata. It might be difficult to find an
ata device just according to a dock. This patch introduces docking ops
for each device in a dock. when docking, dock driver can send device
specific uevent. This should help dock station too (not just bay)

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dock.c
drivers/ata/libata-acpi.c
drivers/pci/hotplug/acpiphp_glue.c
include/acpi/acpi_drivers.h