scsi: lpfc: Enable Management features for IF_TYPE=6
authorJames Smart <jsmart2021@gmail.com>
Tue, 11 Dec 2018 03:37:01 +0000 (19:37 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 13 Dec 2018 01:33:08 +0000 (20:33 -0500)
commit719162bd5bb968203397b9b1d0dd30a9797bbd09
tree54ea5e6c85225d170dab273ec251361dfb2018fa
parent2d1036aea463e34d03b402e6a918ec89a742b2bb
scsi: lpfc: Enable Management features for IF_TYPE=6

Addition of support for if_type=6 missed several checks for interface type,
resulting in the failure of several key management features such as
firmware dump and loopback testing.

Correct the checks on the if_type so that both SLI4 IF_TYPE's 2 and 6 are
supported.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c