summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-01-19 20:56:43 +0100
committerJeff Garzik <jgarzik@redhat.com>2009-01-27 08:15:49 +0100
commit2a6e58d2731dcc05dafa7f976d935e0f0627fcd7 (patch)
tree836d0ec85dccde709aeaaedb3b7686ac51805ad1 /drivers/ata/ahci.c
parentDMI: Introduce dmi_first_match to make the interface more flexible (diff)
downloadlinux-2a6e58d2731dcc05dafa7f976d935e0f0627fcd7.tar.xz
linux-2a6e58d2731dcc05dafa7f976d935e0f0627fcd7.zip
SATA: Blacklisting of systems that spin off disks during ACPI power off
Introduce new libata flags ATA_FLAG_NO_POWEROFF_SPINDOWN and ATA_FLAG_NO_HIBERNATE_SPINDOWN that, if set, will prevent disks from being spun off during system power off and hibernation, respectively (to handle the hibernation case we need the new system state SYSTEM_HIBERNATE_ENTER that can be checked against by libata, in analogy with SYSTEM_POWER_OFF). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions