diff options
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 06ccf230e3c2..ea02903e8503 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -47,6 +47,7 @@ extern struct workqueue_struct *ata_aux_wq; | |||
47 | extern int atapi_enabled; | 47 | extern int atapi_enabled; |
48 | extern int atapi_dmadir; | 48 | extern int atapi_dmadir; |
49 | extern int libata_fua; | 49 | extern int libata_fua; |
50 | extern int noacpi; | ||
50 | extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev); | 51 | extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev); |
51 | extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev, | 52 | extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev, |
52 | u64 block, u32 n_block, unsigned int tf_flags, | 53 | u64 block, u32 n_block, unsigned int tf_flags, |
@@ -87,6 +88,15 @@ extern void ata_port_init(struct ata_port *ap, struct ata_host *host, | |||
87 | extern struct ata_probe_ent *ata_probe_ent_alloc(struct device *dev, | 88 | extern struct ata_probe_ent *ata_probe_ent_alloc(struct device *dev, |
88 | const struct ata_port_info *port); | 89 | const struct ata_port_info *port); |
89 | 90 | ||
91 | /* libata-acpi.c */ | ||
92 | #ifdef CONFIG_SATA_ACPI | ||
93 | extern int ata_acpi_exec_tfs(struct ata_port *ap); | ||
94 | #else | ||
95 | static inline int ata_acpi_exec_tfs(struct ata_port *ap) | ||
96 | { | ||
97 | return 0; | ||
98 | } | ||
99 | #endif | ||
90 | 100 | ||
91 | /* libata-scsi.c */ | 101 | /* libata-scsi.c */ |
92 | extern struct scsi_transport_template ata_scsi_transport_template; | 102 | extern struct scsi_transport_template ata_scsi_transport_template; |