diff options
author | Tejun Heo <tj@kernel.org> | 2011-03-16 11:14:55 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-04-24 17:32:16 +0200 |
commit | ae01b2493c3bf03c504c32ac4ebb01d528508db3 (patch) | |
tree | e2f10e9054ca9c883f59aab7fec776ed2aece281 /include | |
parent | libata: Kill unused ATA_DFLAG_{H|D}IPM flags (diff) | |
download | linux-ae01b2493c3bf03c504c32ac4ebb01d528508db3.tar.xz linux-ae01b2493c3bf03c504c32ac4ebb01d528508db3.zip |
libata: Implement ATA_FLAG_NO_DIPM and apply it to mcp65
NVIDIA mcp65 familiy of controllers cause command timeouts when DIPM
is used. Implement ATA_FLAG_NO_DIPM and apply it.
This problem was reported by Stefan Bader in the following thread.
http://thread.gmane.org/gmane.linux.ide/48841
stable: applicable to 2.6.37 and 38.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Stefan Bader <stefan.bader@canonical.com>
Cc: stable@kernel.org
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 3b4d223a6aff..04f32a3eb26b 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -196,6 +196,7 @@ enum { * management */ ATA_FLAG_SW_ACTIVITY = (1 << 22), /* driver supports sw activity * led */ + ATA_FLAG_NO_DIPM = (1 << 23), /* host not happy with DIPM */ /* bits 24:31 of ap->flags are reserved for LLD specific flags */ |