linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/04] sata_mv always do softreset
@ 2008-05-14 13:18 Mark Lord
  2008-05-14 13:19 ` [PATCH 02/04] sata_mv fis irq register fixes Mark Lord
  0 siblings, 1 reply; 16+ messages in thread
From: Mark Lord @ 2008-05-14 13:18 UTC (permalink / raw)
  To: Jeff Garzik, Tejun Heo; +Cc: Alan Cox, IDE/ATA development list

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

Signed-off-by: Mark Lord <mlord@pobox.com>
---

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);

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-05-19 21:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 13:18 [PATCH 01/04] sata_mv always do softreset Mark Lord
2008-05-14 13:19 ` [PATCH 02/04] sata_mv fis irq register fixes Mark Lord
2008-05-14 13:21   ` [PATCH 03/04] sata_mv group genIIe flags Mark Lord
2008-05-14 13:24     ` [PATCH 04/04] sata_mv async notify for genIIe only Mark Lord
2008-05-17 17:34       ` [PATCH 05/09] sata_mv don't blindly enable IRQs Mark Lord
2008-05-17 17:35         ` [PATCH 06/09] sata_mv consolidate main_irq_mask updates Mark Lord
2008-05-17 17:36           ` [PATCH 07/09] sata_mv fix pmp drives not found Mark Lord
2008-05-17 17:37             ` [PATCH 08/09] sata_mv disregard masked irqs Mark Lord
2008-05-17 17:38               ` [PATCH 09/09] sata_mv cache main_irq_mask register in hpriv Mark Lord
2008-05-19 13:01                 ` [PATCH 10/10] sata_mv: ensure empty request queue for FBS-NCQ EH Mark Lord
2008-05-19 21:41                   ` Jeff Garzik
2008-05-19 21:42                   ` Jeff Garzik
2008-05-19 18:27                 ` [PATCH 09/09] sata_mv cache main_irq_mask register in hpriv Grant Grundler
2008-05-17 17:41         ` [PATCH 05/09] sata_mv don't blindly enable IRQs Jeff Garzik
2008-05-17 17:45           ` Mark Lord
2008-05-17 17:49             ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).