aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorShane Huang <shane.huang@amd.com>2009-08-04 22:10:41 -0400
committerJeff Garzik <jgarzik@redhat.com>2009-08-12 06:21:24 -0400
commitb6931c1fbaf7fda9ea7f120228a96600d7090049 (patch)
treeedb1fba237264624d7e939a26a558fe411d29153 /drivers/ata
parent20308871588518b5e209c403de2a3ad9a2eba9af (diff)
ahci: Soften up the dmesg on SB600 PMP softreset failure recovery
Too strong words led to spurious bug reports: Novell bugzilla #527748, RedHat bugzilla #468800. This patch is used to soften up the dmesg on SB600 PMP softreset failure recovery, so as to remove the scariness and concern from community. Reported-by: pgnet Dev <pgnet.dev@gmail.com> Signed-off-by: Shane Huang <shane.huang@amd.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/ahci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 958c1fa4190..838ff73b08e 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -1773,7 +1773,8 @@ static int ahci_sb600_softreset(struct ata_link *link, unsigned int *class,
1773 irq_sts = readl(port_mmio + PORT_IRQ_STAT); 1773 irq_sts = readl(port_mmio + PORT_IRQ_STAT);
1774 if (irq_sts & PORT_IRQ_BAD_PMP) { 1774 if (irq_sts & PORT_IRQ_BAD_PMP) {
1775 ata_link_printk(link, KERN_WARNING, 1775 ata_link_printk(link, KERN_WARNING,
1776 "failed due to HW bug, retry pmp=0\n"); 1776 "applying SB600 PMP SRST workaround "
1777 "and retrying\n");
1777 rc = ahci_do_softreset(link, class, 0, deadline, 1778 rc = ahci_do_softreset(link, class, 0, deadline,
1778 ahci_check_ready); 1779 ahci_check_ready);
1779 } 1780 }