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)
commitb3b4f3e1d575fe142fd437158425c2359b695ff1
tree0c565fa329ddf9d9b6ce8c299eb65b78754154ed
parentf4f87861d9d8029536b8edecc8c28dc3e0c21fc8
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