aboutsummaryrefslogtreecommitdiff
path: root/init/main.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2007-10-03 01:24:16 +0100
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:45 -0400
commit237d8440cb2b104a3b97fc971a9bce67960bb616 (patch)
tree1199f27b0858c67f2f327c70be108ec5b03448fb /init/main.c
parentb3a706014e56b1356e7b275fd25b833c63175bf0 (diff)
libata: Integrate ACPI-based PATA/SATA hotplug - version 5
Modern laptops with hotswap bays still tend to utilise a PATA interface on a SATA bridge, generally with the host controller in some legacy emulation mode rather than AHCI. This means that the existing hotplug code in libata is unable to work. The ACPI specification states that these devices can send notifications when hotswapped, which avoids the need to obtain notification from the controller. This patch uses the existing libata-acpi code and simply registers a notification in order to trigger a rescan whenever the firmware signals an event. Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions