]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lpfc: fix boot from san failure
authorJames Smart <james.smart@emulex.com>
Mon, 26 Nov 2012 22:57:10 +0000 (15:57 -0700)
committerJerry Snitselaar <jerry.snitselaar@oracle.com>
Mon, 26 Nov 2012 22:57:10 +0000 (15:57 -0700)
commit0f2b6fa5991e4af4f0ce04f4d1d74bedcb729636
tree6d4e7abfaca86ad716a1001e20b109a1268e2bfe
parentee0306afb60f0ec74e3fff0000fd6816a6625e00
lpfc: fix boot from san failure

Fixed boot from san failure when SLI4 FC device presented on the same PCI bus

http://marc.info/?l=linux-scsi&m=135170912526110

The request_firmware interface can induce delays while looking
for firmware files, even if no fw file is present. In some situations
the delays exceeded scan_wait timeouts, resulting in situations in which
the boot device had not been discovered in time.  Boot Device does not
need to be on a lpfc device.

Change request_firmware use to be module paramater driven. Default is to
not attempt firmware download on boot. Add sysfs parameter to invoke
firmware update.

Signed-off-by: James Smart <james.smart@emulex.com>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_crtn.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli4.h