]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix protocol support on G6 and G7 adapters
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Mar 2019 23:30:24 +0000 (16:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Mar 2019 17:15:09 +0000 (13:15 -0400)
commitdb16a45283b383ca31ff94253346b9b20522f0e2
treee578822b63d98bbc6c3878a98765c073a9aa9633
parente7916174ca7d1e369747621fc4823ace729a421f
scsi: lpfc: Fix protocol support on G6 and G7 adapters

Invalid test is allowing Loop to be a supported topology on G6 and G7
adapters. The chips do not support loop as their link speeds prohibit loop
per standard.

Correct the conditional so that loop is not reported.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c