OSDN Git Service

scsi: lpfc: Correct topology type reporting on G7 adapters
authorJames Smart <jsmart2021@gmail.com>
Fri, 30 Nov 2018 00:09:38 +0000 (16:09 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 8 Dec 2018 03:35:33 +0000 (22:35 -0500)
commit76558b25733140a0c6bd53ea8af04b2811c92ec3
tree1b509ce7734108796d407bb4109699feaa8ecc66
parent1c36833d82ff24d0d54215fd956e7cc30fffce54
scsi: lpfc: Correct topology type reporting on G7 adapters

Driver missed classifying the chip type for G7 when reporting supported
topologies. This resulted in loop being shown as supported on FC links that
are not supported per the standard.

Add the chip classifications to the topology checks in the driver.

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
drivers/scsi/lpfc/lpfc_mbox.c