aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2011-12-04 20:20:27 -0500
committerJeff Garzik <jgarzik@redhat.com>2012-01-08 19:14:58 -0500
commit5ef41082912bdfcb33fa53b8dba2ad17dea2ef90 (patch)
treeb63aff744994b75af6c3e5e5e70e01312027992e /drivers/ata/libata.h
parent54f57588463db1105f4a93b2902a6f95cb8f796a (diff)
ata: add ata port system PM callbacks
Change ata_host_request_pm to ata_port_request_pm which performs port suspend/resume. Add ata port type driver which implements port PM callbacks. Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r--drivers/ata/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 773de97988a2..814486d35c44 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -58,6 +58,7 @@ extern int atapi_passthru16;
58extern int libata_fua; 58extern int libata_fua;
59extern int libata_noacpi; 59extern int libata_noacpi;
60extern int libata_allow_tpm; 60extern int libata_allow_tpm;
61extern struct device_type ata_port_type;
61extern struct ata_link *ata_dev_phys_link(struct ata_device *dev); 62extern struct ata_link *ata_dev_phys_link(struct ata_device *dev);
62extern void ata_force_cbl(struct ata_port *ap); 63extern void ata_force_cbl(struct ata_port *ap);
63extern u64 ata_tf_to_lba(const struct ata_taskfile *tf); 64extern u64 ata_tf_to_lba(const struct ata_taskfile *tf);