scsi: lpfc: Fix 16gb hbas failing cq create.
authorJames Smart <jsmart2021@gmail.com>
Fri, 25 May 2018 04:09:00 +0000 (21:09 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 May 2018 02:40:33 +0000 (22:40 -0400)
commitc221768bd49a7423be57c00a56985c0e9c4122cd
tree95b132c07e187ecd69665ececbdd7ec12a08772c
parent7438273fa23bea6d1e647e66c451570b86e2758b
scsi: lpfc: Fix 16gb hbas failing cq create.

The lancer G5 chip family fails the CQ create with 16k page size.  The
hardware incorrectly reports it supports large page sizes when it is
actually limited to 4k pages.

A prior patch resolved this for the A0 chip revision only.  This patch
excludes all revisions of the G5 asic from using large page sizes. As
knowing the actual chip revision is unnecessary, the now unused definitions
are removed

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_hw4.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli4.h