From: Tejun Heo Date: Sat, 15 Dec 2007 06:05:04 +0000 (+0900) Subject: libata-acpi: improve ACPI disabling X-Git-Tag: v2.6.24-rc6~23^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66fa7f2158e84530aa4a1839a3500d6bdb231301;p=pandora-kernel.git libata-acpi: improve ACPI disabling * If _GTF evalution fails, it's pointless to retry. If nothing else is wrong, just ignore the error. * After disabling ACPI, return success iff the number of executed _GTF command equals zero. Otherwise, tell EH to retry. This change fixes bogus 1 return bug where ata_acpi_on_devcfg() expects the caller to reload IDENTIFY data and continue but the caller interprets it as an error. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed