diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-25 15:41:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-25 15:41:55 -0400 |
commit | 50be4917ee70218f59e04dec029121b97fb9cb3d (patch) | |
tree | 0261422c5130ec9f6370c0a55638c657baa00d9e /drivers/ata/libata-acpi.c | |
parent | 37b05b17985ecc43a33e2a8cbdaa220115de4703 (diff) | |
parent | f9d42491723dbb77bdc9b9dc7e096ea57d535992 (diff) |
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
pata_bf54x: decrease count first.
sata_mv: re-enable hotplug, update TODO list
sata_mv: leave SError bits untouched in mv_err_intr
sata_mv: more interrupt handling rework
sata_mv: tidy host controller interrupt handling
sata_mv: simplify request/response queue handling
sata_mv: simplify freeze/thaw bit-shift calculations
sata_mv mask all interrupt coalescing bits
sata_mv more cosmetics
ata_piix: add Asus Eee 701 controller to short cable list
libata-eh set tf flags in NCQ EH result_tf
make sata_set_spd_needed() static
make sata_print_link_status() static
libata-acpi.c: remove unneeded #if's
sata_nv: make hardreset return -EAGAIN on success
ahci: retry enabling AHCI a few times before spitting out WARN_ON()
libata: make WARN_ON conditions in ata_sff_hsm_move() more strict
ATA/IDE: fix platform driver hotplug/coldplug
sata_sis: SCR accessors return -EINVAL when requested SCR isn't available
libata: functions with definition should not be extern
Diffstat (limited to 'drivers/ata/libata-acpi.c')
-rw-r--r-- | drivers/ata/libata-acpi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c index 8c1cfc645c85..70b77e0899a8 100644 --- a/drivers/ata/libata-acpi.c +++ b/drivers/ata/libata-acpi.c | |||
@@ -227,11 +227,9 @@ void ata_acpi_associate(struct ata_host *host) | |||
227 | acpi_install_notify_handler(ap->acpi_handle, | 227 | acpi_install_notify_handler(ap->acpi_handle, |
228 | ACPI_SYSTEM_NOTIFY, | 228 | ACPI_SYSTEM_NOTIFY, |
229 | ata_acpi_ap_notify, ap); | 229 | ata_acpi_ap_notify, ap); |
230 | #if defined(CONFIG_ACPI_DOCK) || defined(CONFIG_ACPI_DOCK_MODULE) | ||
231 | /* we might be on a docking station */ | 230 | /* we might be on a docking station */ |
232 | register_hotplug_dock_device(ap->acpi_handle, | 231 | register_hotplug_dock_device(ap->acpi_handle, |
233 | ata_acpi_ap_notify, ap); | 232 | ata_acpi_ap_notify, ap); |
234 | #endif | ||
235 | } | 233 | } |
236 | 234 | ||
237 | for (j = 0; j < ata_link_max_devices(&ap->link); j++) { | 235 | for (j = 0; j < ata_link_max_devices(&ap->link); j++) { |
@@ -241,11 +239,9 @@ void ata_acpi_associate(struct ata_host *host) | |||
241 | acpi_install_notify_handler(dev->acpi_handle, | 239 | acpi_install_notify_handler(dev->acpi_handle, |
242 | ACPI_SYSTEM_NOTIFY, | 240 | ACPI_SYSTEM_NOTIFY, |
243 | ata_acpi_dev_notify, dev); | 241 | ata_acpi_dev_notify, dev); |
244 | #if defined(CONFIG_ACPI_DOCK) || defined(CONFIG_ACPI_DOCK_MODULE) | ||
245 | /* we might be on a docking station */ | 242 | /* we might be on a docking station */ |
246 | register_hotplug_dock_device(dev->acpi_handle, | 243 | register_hotplug_dock_device(dev->acpi_handle, |
247 | ata_acpi_dev_notify, dev); | 244 | ata_acpi_dev_notify, dev); |
248 | #endif | ||
249 | } | 245 | } |
250 | } | 246 | } |
251 | } | 247 | } |