On 10/14/2016 12:06 AM, James Smart wrote: > > 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@xxxxxxxxxxxx> > Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx> > --- > v3 mods: > parens cleanup > use shost_priv() on new code > > drivers/scsi/lpfc/lpfc.h | 4 ++++ > drivers/scsi/lpfc/lpfc_attr.c | 7 +++++- > drivers/scsi/lpfc/lpfc_bsg.c | 45 ++++++++++++++++++++++++++++++++++++ > drivers/scsi/lpfc/lpfc_bsg.h | 10 ++++++++ > drivers/scsi/lpfc/lpfc_hw4.h | 3 +++ > drivers/scsi/lpfc/lpfc_init.c | 54 +++++++++++++++++++++++++++++++++++++++++++ > 6 files changed, 122 insertions(+), 1 deletion(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html