aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorKristen Carlson Accardi <kristen.c.accardi@intel.com>2006-09-28 14:29:12 -0400
committerJeff Garzik <jeff@garzik.org>2007-02-16 13:32:41 -0500
commit7ea1fbc2a2449bc034a3d255f36f2e5486d52fe8 (patch)
treeefa06ba55094924f27e7598b393a46b8c2753ec0 /drivers/ata/libata.h
parent11ef697b37e3c85ce1ac21f7711babf1f5b12784 (diff)
[PATCH] libata: ACPI _SDD support
_SDD (Set Device Data) is an ACPI method that is used to tell the firmware what the identify data is of the device that is attached to the port. It is an optional method, and it's ok for it to be missing. Because of this, we always return success from the routine that calls this method, even if the execution fails. Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> (cherry picked from 39aa79e0a1f5f2e28aa341f035940746a98b45b1 commit)
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r--drivers/ata/libata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index ea02903e8503..0ad7781d72a3 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -91,11 +91,16 @@ extern struct ata_probe_ent *ata_probe_ent_alloc(struct device *dev,
91/* libata-acpi.c */ 91/* libata-acpi.c */
92#ifdef CONFIG_SATA_ACPI 92#ifdef CONFIG_SATA_ACPI
93extern int ata_acpi_exec_tfs(struct ata_port *ap); 93extern int ata_acpi_exec_tfs(struct ata_port *ap);
94extern int ata_acpi_push_id(struct ata_port *ap, unsigned int ix);
94#else 95#else
95static inline int ata_acpi_exec_tfs(struct ata_port *ap) 96static inline int ata_acpi_exec_tfs(struct ata_port *ap)
96{ 97{
97 return 0; 98 return 0;
98} 99}
100static inline int ata_acpi_push_id(struct ata_port *ap, unsigned int ix)
101{
102 return 0;
103}
99#endif 104#endif
100 105
101/* libata-scsi.c */ 106/* libata-scsi.c */