]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: lpfc: Synchronize link speed with boot driver
authorJames Smart <james.smart@broadcom.com>
Thu, 13 Oct 2016 22:06:16 +0000 (15:06 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 27 Feb 2017 06:13:17 +0000 (22:13 -0800)
commit5bac2f5e47c00c7e964b9ac1eb72fb9dfb6b33e8
treeddeb02849ef82c1db442d577927e41913a2784d2
parenta2c0acc270c26dceba4d9d8cda29df1367c51261
scsi: lpfc: Synchronize link speed with boot driver

Orabug: 25486030

Synchronize link speed with boot driver

Link speed settings set by the boot driver are reported by the hw.
Driver will attempt to read them, and if set, will respect their
values.
The driver can override the settings with its own if instructed by
user space (via bsg), with the new values being picked up by the
boot driver.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit c691816e00d0b4da376f005ffc06eec8a9711dcf)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_bsg.h
drivers/scsi/lpfc/lpfc_hw4.h
drivers/scsi/lpfc/lpfc_init.c