Commit 8048307d authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik

libata-pmp: 4726 hates SRST

4726 hates SRST even on non-config ports.  Don't use it.
Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent af183748
...@@ -495,14 +495,12 @@ static void sata_pmp_quirks(struct ata_port *ap) ...@@ -495,14 +495,12 @@ static void sata_pmp_quirks(struct ata_port *ap)
/* SError.N need a kick in the ass to get working */ /* SError.N need a kick in the ass to get working */
link->flags |= ATA_LFLAG_HRST_TO_RESUME; link->flags |= ATA_LFLAG_HRST_TO_RESUME;
/* class code report is unreliable */ /* Class code report is unreliable and SRST
if (link->pmp < 5) * times out under certain configurations.
link->flags |= ATA_LFLAG_ASSUME_ATA; * Config device can be at port 0 or 5 and
* locks up on SRST.
/* The config device, which can be either at
* port 0 or 5, locks up on SRST.
*/ */
if (link->pmp == 0 || link->pmp == 5) if (link->pmp <= 5)
link->flags |= ATA_LFLAG_NO_SRST | link->flags |= ATA_LFLAG_NO_SRST |
ATA_LFLAG_ASSUME_ATA; ATA_LFLAG_ASSUME_ATA;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment