]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Correct boot bios information to FDMI registration
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Mar 2019 23:30:23 +0000 (16:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Mar 2019 17:15:09 +0000 (13:15 -0400)
commite7916174ca7d1e369747621fc4823ace729a421f
tree0c565fa329ddf9d9b6ce8c299eb65b78754154ed
parentd5890dad3093c98478a5bb4bbe4b5eca0105953f
scsi: lpfc: Correct boot bios information to FDMI registration

The driver is currently reporting the firmware revision not the actual boot
bios version in FDMI data.

Modify the driver to obtain the boot bios version from the adapter and use
that data in the FMDI data sent to the switch.

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.h
drivers/scsi/lpfc/lpfc_ct.c
drivers/scsi/lpfc/lpfc_sli.c