summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorMaciej Rutecki2009-03-20 00:06:46 +0100
committerJeff Garzik2009-03-25 03:11:46 +0100
commitd2f9c0614e664708978c53eca4a5963e92830e88 (patch)
tree71add8252d62e38093ecf4f29d78438af2d57b51 /drivers/ata/ahci.c
parent[libata] sata_mv: Implement direct FIS transmission via mv_qc_issue_fis(). (diff)
downloadkernel-qcow2-linux-d2f9c0614e664708978c53eca4a5963e92830e88.tar.gz
kernel-qcow2-linux-d2f9c0614e664708978c53eca4a5963e92830e88.tar.xz
kernel-qcow2-linux-d2f9c0614e664708978c53eca4a5963e92830e88.zip
ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off
Blacklist HP Compaq 6720s so that it doesn't play a "spin down, spin up, spin down" ping-pong with the hard disk during system power off. Signed-off-by: Maciej Rutecki <maciej.rutecki@gmail.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r--drivers/ata/ahci.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 98d7a9fbb7ed..699789bc9ea6 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -2565,6 +2565,15 @@ static bool ahci_broken_system_poweroff(struct pci_dev *pdev)
/* PCI slot number of the controller */
.driver_data = (void *)0x1FUL,
},
+ {
+ .ident = "HP Compaq 6720s",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq 6720s"),
+ },
+ /* PCI slot number of the controller */
+ .driver_data = (void *)0x1FUL,
+ },
{ } /* terminate list */
};