summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.h
diff options
context:
space:
mode:
authorYuan-Hsin Chen2011-06-21 11:17:38 +0200
committerJeff Garzik2011-07-23 23:57:36 +0200
commit345347c5d767332d7352f220808fe9b5e4af8c6b (patch)
tree7168a49db28e6fa13f938e21d6d661ff2b0be7ae /drivers/ata/ahci.h
parentlibata: leave port thawed after reset failure (diff)
downloadkernel-qcow2-linux-345347c5d767332d7352f220808fe9b5e4af8c6b.tar.gz
kernel-qcow2-linux-345347c5d767332d7352f220808fe9b5e4af8c6b.tar.xz
kernel-qcow2-linux-345347c5d767332d7352f220808fe9b5e4af8c6b.zip
ahci: move ahci_sb600_softreset to libahci.c and rename it
ahci_sb600_softreset was in ahci.c. This function is used to fix soft reset failure and renames as ahci_pmp_retry_softreset in libahci.c. Signed-off-by: Yuan-Hsin Chen <yhchen@faraday-tech.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/ata/ahci.h')
-rw-r--r--drivers/ata/ahci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
index 12c5282e7fca..b1750007c8dc 100644
--- a/drivers/ata/ahci.h
+++ b/drivers/ata/ahci.h
@@ -312,6 +312,7 @@ extern struct device_attribute *ahci_sdev_attrs[];
.sdev_attrs = ahci_sdev_attrs
extern struct ata_port_operations ahci_ops;
+extern struct ata_port_operations ahci_pmp_retry_srst_ops;
void ahci_fill_cmd_slot(struct ahci_port_priv *pp, unsigned int tag,
u32 opts);