Files
linux-st/include/linux
Tejun Heo 398e07826b libata-acpi: implement dev->gtf_cache and evaluate _GTF right after _STM during resume
On certain implementations, _GTF evaluation depends on preceding _STM
and both can be pretty picky about the configuration.  Using _GTM
result cached during controller initialization satisfies the most
neurotic _STM implementation.  However, libata evaluates _GTF after
reset during device configuration and the hardware state can be
different from what _GTF expects and can cause evaluation failure.

This patch adds dev->gtf_cache and updates ata_dev_get_GTF() such that
it uses the cached value if available.  Cache is cleared with a call
to ata_acpi_clear_gtf().

Because for SATA ACPI nodes _GTF must be evaluated after _SDD which
can't be done till IDENTIFY is complete, _GTF caching from
ata_acpi_on_resume() is used only for IDE ACPI nodes.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-12-17 20:33:14 -05:00
..
2007-12-17 20:33:12 -05:00
2007-11-19 21:43:22 -05:00
2007-11-29 09:24:54 -08:00
2007-11-14 18:45:40 -08:00
2007-11-15 19:24:02 +01:00
2007-12-05 05:37:32 -08:00
2007-11-05 15:12:32 -08:00
2007-11-29 09:24:52 -08:00
2007-12-07 09:06:53 +00:00
2007-11-07 04:15:12 -08:00
2007-11-23 20:54:01 -05:00
2007-12-05 09:21:20 -08:00
2007-11-29 09:24:54 -08:00
2007-11-27 09:30:39 +01:00
2007-11-29 09:24:53 -08:00
2007-11-09 22:39:38 +01:00
2007-11-26 20:42:19 +01:00
2007-12-17 10:47:15 -08:00