[SCSI] qla2xxx: Allow the user the option of disabling iIDMA.
[deliverable/linux.git] / drivers / scsi / qla2xxx / qla_init.c
index 833a6429d9b93784f73733453a90698a36e9af60..f4cd2cd874b99af80932d6acdc4c72dc2f947b5a 100644 (file)
@@ -2559,7 +2559,8 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *ha, struct list_head *new_fcports)
                } else if (qla2x00_gnn_id(ha, swl) != QLA_SUCCESS) {
                        kfree(swl);
                        swl = NULL;
-               } else if (qla2x00_gfpn_id(ha, swl) == QLA_SUCCESS) {
+               } else if (ql2xiidmaenable &&
+                   qla2x00_gfpn_id(ha, swl) == QLA_SUCCESS) {
                        qla2x00_gpsc(ha, swl);
                }
        }
This page took 0.024535 seconds and 5 git commands to generate.