summaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptscsih.c
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2009-01-06 15:03:37 +0530
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-13 10:36:02 -0600
commit2f4c782c2e06fbaef2ac2b6b7abd796b96abd98b (patch)
tree2e20c691b1612614345ea369b64bd5f36107a4a6 /drivers/message/fusion/mptscsih.c
parente382968ba618e016ff7922dff9a6140c2f9108c8 (diff)
downloadlinux-2f4c782c2e06fbaef2ac2b6b7abd796b96abd98b.tar.gz
linux-2f4c782c2e06fbaef2ac2b6b7abd796b96abd98b.tar.bz2
linux-2f4c782c2e06fbaef2ac2b6b7abd796b96abd98b.zip
[SCSI] mpt fusion: Add Firmware debug support
Signed-off-by: Kashyap Desai <kadesai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/message/fusion/mptscsih.c')
-rw-r--r--drivers/message/fusion/mptscsih.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c
index ee090413e598..e62c6bc4ad33 100644
--- a/drivers/message/fusion/mptscsih.c
+++ b/drivers/message/fusion/mptscsih.c
@@ -1846,6 +1846,9 @@ mptscsih_abort(struct scsi_cmnd * SCpnt)
if (hd->timeouts < -1)
hd->timeouts++;
+ if (mpt_fwfault_debug)
+ mpt_halt_firmware(ioc);
+
/* Most important! Set TaskMsgContext to SCpnt's MsgContext!
* (the IO to be ABORT'd)
*