diff options
author | Tejun Heo <htejun@gmail.com> | 2007-12-15 07:05:04 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-12-18 02:33:14 +0100 |
commit | 66fa7f2158e84530aa4a1839a3500d6bdb231301 (patch) | |
tree | 41fb7db89a5c6e48b5ad38a35ef6538a02d42837 /drivers/zorro | |
parent | libata-acpi: implement dev->gtf_cache and evaluate _GTF right after _STM duri... (diff) | |
download | linux-66fa7f2158e84530aa4a1839a3500d6bdb231301.tar.xz linux-66fa7f2158e84530aa4a1839a3500d6bdb231301.zip |
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 <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions