libata-acpi: allow _GTF on SATA, but disable on PATA for now
authorKristen Accardi <kristen.c.accardi@intel.com>
Fri, 9 Mar 2007 23:15:33 +0000 (18:15 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 9 Mar 2007 23:15:33 +0000 (18:15 -0500)
commitdf33c77e3981e71afc8727ee5c432ba1a1bba68c
tree414f7c4392a14b70f114c2d10dcd6f1477dd61a0
parent908e0a8a265fe8057604a9a30aec3f0be7bb5ebb
libata-acpi: allow _GTF on SATA, but disable on PATA for now

The ACPI specification states, and BIOS implementations depend on,
_STM being called before _GTF.

SATA does this, but PATA does not.  So for now, simply
prevent execution of _GTF on PATA devices.  Longer term we
should implement ACPI support for PATA devices in libata.

Signed-off-by: Kristen Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/ata/libata-acpi.c