[PATCH] sata_promise: hardreset is broken

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

 



PHY events aren't plugged properly over hardresets and cause PHY event
loop mkaing hardreset repeat itself.  Don't use hardreset for now.

Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
---
 drivers/ata/sata_promise.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/sata_promise.c b/drivers/ata/sata_promise.c
index f251a5f..1af2208 100644
--- a/drivers/ata/sata_promise.c
+++ b/drivers/ata/sata_promise.c
@@ -675,7 +675,11 @@ static void pdc_pata_error_handler(struct ata_port *ap)
 
 static void pdc_sata_error_handler(struct ata_port *ap)
 {
-	pdc_common_error_handler(ap, sata_std_hardreset);
+	/* FIXME: hardreset is currently broken and causes hotplug
+	 * event loop.  sata_std_hardreset can be used for @hardreset
+	 * once the problem is fixed.
+	 */
+	pdc_common_error_handler(ap, NULL);
 }
 
 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc)
-- 
1.5.2.4

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