]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Add support for optional PLDV handling
authorJames Smart <jsmart2021@gmail.com>
Mon, 27 Sep 2021 18:35:18 +0000 (11:35 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 29 Sep 2021 03:28:07 +0000 (23:28 -0400)
commit1d3f9c482ba6721ebcb0f3fea0da4eec0c1bd441
tree6b987a1b61996f9fbd901d0b693bd03a903709d0
parent971fe9c5782f308f8676ef34da0c76b4518b279d
scsi: lpfc: Add support for optional PLDV handling

At adapter attachment or SLI port initialization, read the SLIPORT_STATUS
register to check for pldv_enable. If found, the driver will perform a PCIe
configuration space write when attaching to an SLI port instance that is an
LPe32000 series adapter.

Link: https://lore.kernel.org/r/20210927183518.22130-1-jsmart2021@gmail.com
Co-developed-by: Nigel Kirkland <nkirkland2304@gmail.com>
Signed-off-by: Nigel Kirkland <nkirkland2304@gmail.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_hw4.h
drivers/scsi/lpfc/lpfc_init.c