Tejun Heo 64578a3de7 libata-acpi: implement _GTM/_STM support
Implement _GTM/_STM support.  acpi_gtm is added to ata_port which
stores _GTM parameters over suspend/resume cycle.  A new hook
ata_acpi_on_suspend() is responsible for storing _GTM parameters
during suspend.  _STM is executed in ata_acpi_on_resume().  With this
change, invoking _GTF is safe on IDE hierarchy and acpi_sata check
before _GTF is removed.

ata_acpi_gtm() and ata_acpi_stm() implementation is taken from Alan
Cox's pata_acpi implementation.  ata_acpi_gtm() is fixed such that the
result parameter is not shifted by sizeof(union acpi_object).

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-07-09 12:17:32 -04:00
..
2007-06-02 01:02:09 -04:00
2007-06-01 08:18:29 -07:00
2007-05-30 13:15:06 +01:00
2007-05-11 08:29:34 -07:00
2007-06-01 08:18:29 -07:00
2007-07-06 10:23:43 -07:00
2007-05-08 11:15:20 -07:00
2007-06-19 13:10:20 +02:00
2007-05-14 09:55:35 +09:00
2007-06-24 08:59:11 -07:00
2007-05-11 08:29:34 -07:00
2007-06-13 20:44:42 +00:00
2007-05-07 12:12:50 -07:00
2007-05-31 11:03:27 +02:00