From: Maciej Rutecki Date: Thu, 19 Mar 2009 23:06:46 +0000 (+0100) Subject: ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off X-Git-Tag: v2.6.30-rc1~669^2~15 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d2f9c0614e664708978c53eca4a5963e92830e88;p=karo-tx-linux.git 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 Signed-off-by: Rafael J. Wysocki Signed-off-by: Jeff Garzik --- 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 */ };