aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2008-07-10 19:55:52 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-26 15:14:38 -0400
commite5896bd5dcf71fa43ddcc545340b847c13d29c44 (patch)
treefdbfec888dc878552e9f10d50b954b67bca8ce5b /drivers/scsi/qla2xxx/qla_init.c
parent711c1d916be083a5bf4fbc8e66201e7e9f8b9334 (diff)
[SCSI] qla2xxx: Allow the user the option of disabling iIDMA.
iIDMA support requires the driver issue several additional fabric-managegment (FM) commands per port discovered during SNS scanning -- GFPN (Get Fabric Port Name) and GPSC (Get Port Speed Capabilities). It has been found during testing that some switches do not respond as *well* as expected to these commands (silence -- no ACC nor BS_RJT). So, to handle such conditions, allow the user the ability to indirectly disable the FM commands by disabling iIDMA with the ql2xiidmaenable module-parameter. 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_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 833a6429d9b9..f4cd2cd874b9 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -2559,7 +2559,8 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *ha, struct list_head *new_fcports)
2559 } else if (qla2x00_gnn_id(ha, swl) != QLA_SUCCESS) { 2559 } else if (qla2x00_gnn_id(ha, swl) != QLA_SUCCESS) {
2560 kfree(swl); 2560 kfree(swl);
2561 swl = NULL; 2561 swl = NULL;
2562 } else if (qla2x00_gfpn_id(ha, swl) == QLA_SUCCESS) { 2562 } else if (ql2xiidmaenable &&
2563 qla2x00_gfpn_id(ha, swl) == QLA_SUCCESS) {
2563 qla2x00_gpsc(ha, swl); 2564 qla2x00_gpsc(ha, swl);
2564 } 2565 }
2565 } 2566 }