Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 946fb891 authored by Mike Hernandez's avatar Mike Hernandez Committed by James Bottomley
Browse files

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

parent bed475c4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -976,7 +976,8 @@ qla2x00_setup_chip(scsi_qla_host_t *ha)
				    &ha->fw_attributes, &ha->fw_memory_size);
				qla2x00_resize_request_q(ha);
				ha->flags.npiv_supported = 0;
				if ((IS_QLA24XX(ha) || IS_QLA25XX(ha)) &&
				if ((IS_QLA24XX(ha) || IS_QLA25XX(ha) ||
				     IS_QLA84XX(ha)) &&
					 (ha->fw_attributes & BIT_2)) {
					ha->flags.npiv_supported = 1;
					if ((!ha->max_npiv_vports) ||