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)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 24 Apr 2011 15:32:16 +0000 (11:32 -0400)
commitae01b2493c3bf03c504c32ac4ebb01d528508db3
treee2f10e9054ca9c883f59aab7fec776ed2aece281
parent3f7ac1d6671ebca7a955853f7127c937f7befbd3
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>
drivers/ata/ahci.c
drivers/ata/libata-eh.c
include/linux/libata.h