diff options
author | Tejun Heo <tj@kernel.org> | 2009-09-16 04:17:28 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-10-06 00:26:27 -0400 |
commit | 110f66d25c33c2259b1125255fa7063ab07b8340 (patch) | |
tree | 2d524b3f27aa168eb01cbb007c2bfa195bea42f4 /include/linux/libata.h | |
parent | fa5b561c4ea170caf9759109acc2e961a7e83bea (diff) | |
download | kernel_samsung_espresso10-110f66d25c33c2259b1125255fa7063ab07b8340.zip kernel_samsung_espresso10-110f66d25c33c2259b1125255fa7063ab07b8340.tar.gz kernel_samsung_espresso10-110f66d25c33c2259b1125255fa7063ab07b8340.tar.bz2 |
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/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index aa52794..8769864 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -598,6 +598,7 @@ struct ata_device { #ifdef CONFIG_ATA_ACPI acpi_handle acpi_handle; union acpi_object *gtf_cache; + unsigned int gtf_filter; #endif /* n_sector is CLEAR_BEGIN, read comment above CLEAR_BEGIN */ u64 n_sectors; /* size of device, if ATA */ |