aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_attr.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2009-06-03 12:55:27 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-08 15:46:55 -0400
commit6805c1504eb4cfd4a31c05ed88fdeb56228eb3ba (patch)
tree4b6b97ac814dcef7a14e1d730e7405694263c3a7 /drivers/scsi/qla2xxx/qla_attr.c
parentaed10881129c52f0e5dc1c96ac706b5ce7708a13 (diff)
[SCSI] qla2xxx: Avoid explicit LOGO during driver host tear-down.
As firmware will ultimately terminate (stop) and port states-cleared. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_attr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
index 74e69703ef98..cbdafb0aaf4c 100644
--- a/drivers/scsi/qla2xxx/qla_attr.c
+++ b/drivers/scsi/qla2xxx/qla_attr.c
@@ -1465,7 +1465,8 @@ qla2x00_terminate_rport_io(struct fc_rport *rport)
1465 * At this point all fcport's software-states are cleared. Perform any 1465 * At this point all fcport's software-states are cleared. Perform any
1466 * final cleanup of firmware resources (PCBs and XCBs). 1466 * final cleanup of firmware resources (PCBs and XCBs).
1467 */ 1467 */
1468 if (fcport->loop_id != FC_NO_LOOP_ID) 1468 if (fcport->loop_id != FC_NO_LOOP_ID &&
1469 !test_bit(UNLOADING, &fcport->vha->dpc_flags))
1469 fcport->vha->hw->isp_ops->fabric_logout(fcport->vha, 1470 fcport->vha->hw->isp_ops->fabric_logout(fcport->vha,
1470 fcport->loop_id, fcport->d_id.b.domain, 1471 fcport->loop_id, fcport->d_id.b.domain,
1471 fcport->d_id.b.area, fcport->d_id.b.al_pa); 1472 fcport->d_id.b.area, fcport->d_id.b.al_pa);