diff options
author | Maciej Rutecki <maciej.rutecki@gmail.com> | 2009-03-19 19:06:46 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-03-24 22:11:46 -0400 |
commit | d2f9c0614e664708978c53eca4a5963e92830e88 (patch) | |
tree | 71add8252d62e38093ecf4f29d78438af2d57b51 /drivers | |
parent | 70f8b79cf3a2eb892a01271fdfbb1903c0c982a8 (diff) |
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')
-rw-r--r-- | drivers/ata/ahci.c | 9 |
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) | |||
2565 | /* PCI slot number of the controller */ | 2565 | /* PCI slot number of the controller */ |
2566 | .driver_data = (void *)0x1FUL, | 2566 | .driver_data = (void *)0x1FUL, |
2567 | }, | 2567 | }, |
2568 | { | ||
2569 | .ident = "HP Compaq 6720s", | ||
2570 | .matches = { | ||
2571 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), | ||
2572 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq 6720s"), | ||
2573 | }, | ||
2574 | /* PCI slot number of the controller */ | ||
2575 | .driver_data = (void *)0x1FUL, | ||
2576 | }, | ||
2568 | 2577 | ||
2569 | { } /* terminate list */ | 2578 | { } /* terminate list */ |
2570 | }; | 2579 | }; |