[SCSI] qla2xxx: Set npiv_supported flag for FCoE HBAs.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by Mike Hernandez and committed by James Bottomley 946fb891 bed475c4

+3 -2
+3 -2
drivers/scsi/qla2xxx/qla_init.c
··· 976 976 &ha->fw_attributes, &ha->fw_memory_size); 977 977 qla2x00_resize_request_q(ha); 978 978 ha->flags.npiv_supported = 0; 979 - if ((IS_QLA24XX(ha) || IS_QLA25XX(ha)) && 980 - (ha->fw_attributes & BIT_2)) { 979 + if ((IS_QLA24XX(ha) || IS_QLA25XX(ha) || 980 + IS_QLA84XX(ha)) && 981 + (ha->fw_attributes & BIT_2)) { 981 982 ha->flags.npiv_supported = 1; 982 983 if ((!ha->max_npiv_vports) || 983 984 ((ha->max_npiv_vports + 1) %