diff options
author | Kristen Carlson Accardi <kristen.c.accardi@intel.com> | 2006-09-28 22:29:01 +0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-16 21:32:41 +0300 |
commit | 11ef697b37e3c85ce1ac21f7711babf1f5b12784 (patch) | |
tree | 7b118d54bc8fc24ca8cbc626d603013d07ed8c2a /include/linux/libata.h | |
parent | 8a03d9a498eaf02c8a118752050a5154852c13bf (diff) | |
download | linux-11ef697b37e3c85ce1ac21f7711babf1f5b12784.tar.xz |
[PATCH] libata: ACPI and _GTF support
_GTF is an acpi method that is used to reinitialize the drive. It returns
a task file containing ata commands that are sent back to the drive to restore
it to boot up defaults.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
(cherry picked from 9c69cab24b51a89664f4c0dfaf8a436d32117624 commit)
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index b870b20df43c..86762a9f52ba 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -35,6 +35,7 @@ #include <linux/ata.h> #include <linux/workqueue.h> #include <scsi/scsi_host.h> +#include <linux/acpi.h> /* * Define if arch has non-standard setup. This is a _PCI_ standard @@ -495,6 +496,10 @@ struct ata_device { /* error history */ struct ata_ering ering; unsigned int horkage; /* List of broken features */ +#ifdef CONFIG_SATA_ACPI + /* ACPI objects info */ + acpi_handle obj_handle; +#endif }; /* Offset into struct ata_device. Fields above it are maintained |