]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Do not restrict the number of NPIV ports for ISP83xx.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Fri, 13 Jul 2012 20:14:13 +0000 (15:14 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 27 Aug 2012 09:44:27 +0000 (02:44 -0700)
JIRA Key: V2632FC-236

drivers/scsi/qla2xxx/qla_init.c

index d0df5dc237e3f7ebceaad72ab0768265560417d3..98f482478dbe9cb68a0b68b13163f68b7071244b 100644 (file)
@@ -1894,7 +1894,7 @@ qla2x00_init_rings(scsi_qla_host_t *vha)
        ql_dbg(ql_dbg_init, vha, 0x00d1, "Issue init firmware.\n");
 
        if (ha->flags.npiv_supported) {
-               if (ha->operating_mode == LOOP)
+               if (ha->operating_mode == LOOP && !IS_CNA_CAPABLE(ha))
                        ha->max_npiv_vports = MIN_MULTI_ID_FABRIC - 1;
                mid_init_cb->count = cpu_to_le16(ha->max_npiv_vports);
        }