summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTejun Heo2006-11-01 09:59:53 +0100
committerJeff Garzik2006-12-02 04:41:29 +0100
commitb6103f6d1659e2024776bc759d28613fb36344a8 (patch)
tree6554af3833d044b0c55203100c6599b105a6f940 /include
parent[PATCH] ahci: kill AHCI_FLAG_RESET_NEEDS_CLO (diff)
downloadkernel-qcow2-linux-b6103f6d1659e2024776bc759d28613fb36344a8.tar.gz
kernel-qcow2-linux-b6103f6d1659e2024776bc759d28613fb36344a8.tar.xz
kernel-qcow2-linux-b6103f6d1659e2024776bc759d28613fb36344a8.zip
[PATCH] libata: separate out and export sata_port_hardreset()
Separate out sata_port_hardreset() from sata_std_hardreset(). This will be used by LLD hardreset implementation and later by PMP. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index d3bf7b936c3f..41fa0890dbfb 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -702,6 +702,8 @@ extern int sata_phy_debounce(struct ata_port *ap, const unsigned long *param);
extern int sata_phy_resume(struct ata_port *ap, const unsigned long *param);
extern int ata_std_prereset(struct ata_port *ap);
extern int ata_std_softreset(struct ata_port *ap, unsigned int *classes);
+extern int sata_port_hardreset(struct ata_port *ap,
+ const unsigned long *timing);
extern int sata_std_hardreset(struct ata_port *ap, unsigned int *class);
extern void ata_std_postreset(struct ata_port *ap, unsigned int *classes);
extern void ata_port_disable(struct ata_port *);