aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 7fd1344ff1f9..ab2cc71994c2 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -5296,39 +5296,6 @@ qla82xx_restart_isp(scsi_qla_host_t *vha)
5296 "(%d).\n", rval); 5296 "(%d).\n", rval);
5297 } 5297 }
5298 } 5298 }
5299 } else { /* failed the ISP abort */
5300 vha->flags.online = 1;
5301 if (test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) {
5302 if (ha->isp_abort_cnt == 0) {
5303 qla_printk(KERN_WARNING, ha,
5304 "ISP error recovery failed - "
5305 "board disabled\n");
5306 /*
5307 * The next call disables the board
5308 * completely.
5309 */
5310 ha->isp_ops->reset_adapter(vha);
5311 vha->flags.online = 0;
5312 clear_bit(ISP_ABORT_RETRY,
5313 &vha->dpc_flags);
5314 status = 0;
5315 } else { /* schedule another ISP abort */
5316 ha->isp_abort_cnt--;
5317 qla_printk(KERN_INFO, ha,
5318 "qla%ld: ISP abort - "
5319 "retry remaining %d\n",
5320 vha->host_no, ha->isp_abort_cnt);
5321 status = 1;
5322 }
5323 } else {
5324 ha->isp_abort_cnt = MAX_RETRIES_OF_ISP_ABORT;
5325 qla_printk(KERN_INFO, ha,
5326 "(%ld): ISP error recovery "
5327 "- retrying (%d) more times\n",
5328 vha->host_no, ha->isp_abort_cnt);
5329 set_bit(ISP_ABORT_RETRY, &vha->dpc_flags);
5330 status = 1;
5331 }
5332 } 5299 }
5333 5300
5334 if (!status) { 5301 if (!status) {