Commit:     771b8dad9653d2659e0ffcc237184cb16c317788
Parent:     176efb054422bffe6b5a34194ffad134366c7f7e
Author:     Tejun Heo <[EMAIL PROTECTED]>
AuthorDate: Wed Mar 14 01:20:51 2007 +0900
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Sat Apr 28 14:15:59 2007 -0400

    libata: hardreset on SERR_INTERNAL
    There was a rare report where SB600 reported SERR_INTERNAL and SRST
    couldn't get it out of the failure mode.  Hardreset on SERR_INTERNAL.
    As the problem is intermittent, whether this fixes the problem or not
    hasn't been verified yet, but hardresetting the channel on internal
    error is a good idea anyway.
    Signed-off-by: Tejun Heo <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/ata/libata-eh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 39f556c..185876a 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -1056,7 +1056,7 @@ static void ata_eh_analyze_serror(struct ata_port *ap)
        if (serror & SERR_INTERNAL) {
                err_mask |= AC_ERR_SYSTEM;
-               action |= ATA_EH_SOFTRESET;
+               action |= ATA_EH_HARDRESET;
        if (serror & (SERR_PHYRDY_CHG | SERR_DEV_XCHG))
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to