[PATCH 01/04] sata_mv always do softreset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Always request a softreset after hardreset succeeds.
This fixes a regression reported by Martin Michlmayr <tbm@xxxxxxxxxx>.

Signed-off-by: Mark Lord <mlord@xxxxxxxxx>
---

For 2.6.26.

--- old/drivers/ata/sata_mv.c	2008-05-09 17:21:52.000000000 -0400
+++ linux/drivers/ata/sata_mv.c	2008-05-13 18:10:29.000000000 -0400
@@ -2728,6 +2728,7 @@

		rc = sata_link_hardreset(link, timing, deadline + extra,
					 &online, NULL);
+		rc = online ? -EAGAIN : rc;
		if (rc)
			return rc;
		sata_scr_read(link, SCR_STATUS, &sstatus);
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux