libata: Implement ATA_FLAG_NO_DIPM and apply it to mcp65
authorTejun Heo <tj@kernel.org>
Wed, 16 Mar 2011 10:14:55 +0000 (11:14 +0100)
committerSteve Conklin <sconklin@canonical.com>
Thu, 2 Jun 2011 19:23:03 +0000 (14:23 -0500)
commitc12907b501a225d45e9f6687b9654c5bf9ad7153
treed8f6c4a1501e7bf47ae9467132a2bab911584beb
parent2d5c211ce37f66167710ee1e400d71d360ea4f1b
libata: Implement ATA_FLAG_NO_DIPM and apply it to mcp65

BugLink: http://bugs.launchpad.net/bugs/775809

commit ae01b2493c3bf03c504c32ac4ebb01d528508db3 upstream.

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>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/ata/ahci.c
drivers/ata/libata-eh.c
include/linux/libata.h