aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-09-15 15:17:28 -0400
committerJeff Garzik <jgarzik@redhat.com>2009-10-06 00:26:27 -0400
commit110f66d25c33c2259b1125255fa7063ab07b8340 (patch)
tree2d524b3f27aa168eb01cbb007c2bfa195bea42f4 /include
parentfa5b561c4ea170caf9759109acc2e961a7e83bea (diff)
libata: make gtf_filter per-dev
Add ->gtf_filter to ata_device and set it to ata_acpi_gtf_filter when initializing ata_link. This is to allow quirks which apply different gtf filters. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index aa52794d2a03..87698640c091 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -598,6 +598,7 @@ struct ata_device {
598#ifdef CONFIG_ATA_ACPI 598#ifdef CONFIG_ATA_ACPI
599 acpi_handle acpi_handle; 599 acpi_handle acpi_handle;
600 union acpi_object *gtf_cache; 600 union acpi_object *gtf_cache;
601 unsigned int gtf_filter;
601#endif 602#endif
602 /* n_sector is CLEAR_BEGIN, read comment above CLEAR_BEGIN */ 603 /* n_sector is CLEAR_BEGIN, read comment above CLEAR_BEGIN */
603 u64 n_sectors; /* size of device, if ATA */ 604 u64 n_sectors; /* size of device, if ATA */