diff options
-rw-r--r-- | drivers/ata/Kconfig | 26 | ||||
-rw-r--r-- | drivers/ata/Makefile | 2 | ||||
-rw-r--r-- | drivers/ata/libata.h | 2 | ||||
-rw-r--r-- | include/linux/libata.h | 2 |
4 files changed, 16 insertions, 16 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index f031b8732330..8e136ff013f4 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig | |||
@@ -24,6 +24,19 @@ config ATA_NONSTANDARD | |||
24 | bool | 24 | bool |
25 | default n | 25 | default n |
26 | 26 | ||
27 | config ATA_ACPI | ||
28 | bool | ||
29 | depends on ACPI && PCI | ||
30 | default y | ||
31 | help | ||
32 | This option adds support for ATA-related ACPI objects. | ||
33 | These ACPI objects add the ability to retrieve taskfiles | ||
34 | from the ACPI BIOS and write them to the disk controller. | ||
35 | These objects may be related to performance, security, | ||
36 | power management, or other areas. | ||
37 | You can disable this at kernel boot time by using the | ||
38 | option libata.noacpi=1 | ||
39 | |||
27 | config SATA_AHCI | 40 | config SATA_AHCI |
28 | tristate "AHCI SATA support" | 41 | tristate "AHCI SATA support" |
29 | depends on PCI | 42 | depends on PCI |
@@ -157,19 +170,6 @@ config SATA_INIC162X | |||
157 | help | 170 | help |
158 | This option enables support for Initio 162x Serial ATA. | 171 | This option enables support for Initio 162x Serial ATA. |
159 | 172 | ||
160 | config SATA_ACPI | ||
161 | bool | ||
162 | depends on ACPI && PCI | ||
163 | default y | ||
164 | help | ||
165 | This option adds support for SATA-related ACPI objects. | ||
166 | These ACPI objects add the ability to retrieve taskfiles | ||
167 | from the ACPI BIOS and write them to the disk controller. | ||
168 | These objects may be related to performance, security, | ||
169 | power management, or other areas. | ||
170 | You can disable this at kernel boot time by using the | ||
171 | option libata.noacpi=1 | ||
172 | |||
173 | config PATA_ALI | 173 | config PATA_ALI |
174 | tristate "ALi PATA support (Experimental)" | 174 | tristate "ALi PATA support (Experimental)" |
175 | depends on PCI && EXPERIMENTAL | 175 | depends on PCI && EXPERIMENTAL |
diff --git a/drivers/ata/Makefile b/drivers/ata/Makefile index 6f42a0e2812d..8149c68ac2c7 100644 --- a/drivers/ata/Makefile +++ b/drivers/ata/Makefile | |||
@@ -69,4 +69,4 @@ obj-$(CONFIG_ATA_GENERIC) += ata_generic.o | |||
69 | obj-$(CONFIG_PATA_LEGACY) += pata_legacy.o | 69 | obj-$(CONFIG_PATA_LEGACY) += pata_legacy.o |
70 | 70 | ||
71 | libata-objs := libata-core.o libata-scsi.o libata-sff.o libata-eh.o | 71 | libata-objs := libata-core.o libata-scsi.o libata-sff.o libata-eh.o |
72 | libata-$(CONFIG_SATA_ACPI) += libata-acpi.o | 72 | libata-$(CONFIG_ATA_ACPI) += libata-acpi.o |
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 316bf8ae4536..49ec182e5057 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -97,7 +97,7 @@ extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); | |||
97 | extern struct ata_port *ata_port_alloc(struct ata_host *host); | 97 | extern struct ata_port *ata_port_alloc(struct ata_host *host); |
98 | 98 | ||
99 | /* libata-acpi.c */ | 99 | /* libata-acpi.c */ |
100 | #ifdef CONFIG_SATA_ACPI | 100 | #ifdef CONFIG_ATA_ACPI |
101 | extern int ata_acpi_exec_tfs(struct ata_port *ap); | 101 | extern int ata_acpi_exec_tfs(struct ata_port *ap); |
102 | extern int ata_acpi_push_id(struct ata_port *ap, unsigned int ix); | 102 | extern int ata_acpi_push_id(struct ata_port *ap, unsigned int ix); |
103 | #else | 103 | #else |
diff --git a/include/linux/libata.h b/include/linux/libata.h index 90abcdc3d4ef..27d936279574 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -458,7 +458,7 @@ struct ata_device { | |||
458 | struct ata_ering ering; | 458 | struct ata_ering ering; |
459 | int spdn_cnt; | 459 | int spdn_cnt; |
460 | unsigned int horkage; /* List of broken features */ | 460 | unsigned int horkage; /* List of broken features */ |
461 | #ifdef CONFIG_SATA_ACPI | 461 | #ifdef CONFIG_ATA_ACPI |
462 | /* ACPI objects info */ | 462 | /* ACPI objects info */ |
463 | acpi_handle obj_handle; | 463 | acpi_handle obj_handle; |
464 | #endif | 464 | #endif |