diff options
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 06ccf230e3c2..0ad7781d72a3 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,20 @@ 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 | extern int ata_acpi_push_id(struct ata_port *ap, unsigned int ix); | ||
95 | #else | ||
96 | static inline int ata_acpi_exec_tfs(struct ata_port *ap) | ||
97 | { | ||
98 | return 0; | ||
99 | } | ||
100 | static inline int ata_acpi_push_id(struct ata_port *ap, unsigned int ix) | ||
101 | { | ||
102 | return 0; | ||
103 | } | ||
104 | #endif | ||
90 | 105 | ||
91 | /* libata-scsi.c */ | 106 | /* libata-scsi.c */ |
92 | extern struct scsi_transport_template ata_scsi_transport_template; | 107 | extern struct scsi_transport_template ata_scsi_transport_template; |