sata_qstor: use hardreset instead of softreset
authorTejun Heo <htejun@gmail.com>
Thu, 3 Jan 2008 15:22:19 +0000 (00:22 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 10 Jan 2008 21:52:41 +0000 (16:52 -0500)
During conversion to new EH, sata_qstor was accidentaly changed to use
softreset, which is buggy on this chip, instead of hardreset.  This
patch updates sata_qstor such that it uses hardreset again.

This fixes bugzilla bug 9631.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_qstor.c

index 2f1de6ec044c52f2dd5a4318ba5d2812e00db382..c68b241805fdf569f182b7c9be211183cb1208ca 100644 (file)
@@ -270,7 +270,7 @@ static int qs_scr_read(struct ata_port *ap, unsigned int sc_reg, u32 *val)
 static void qs_error_handler(struct ata_port *ap)
 {
        qs_enter_reg_mode(ap);
-       ata_do_eh(ap, qs_prereset, ata_std_softreset, NULL,
+       ata_do_eh(ap, qs_prereset, NULL, sata_std_hardreset,
                  ata_std_postreset);
 }