[SCSI] qla1280: retain firmware for error recovery
authorMichael Reed <mdr@sgi.com>
Tue, 23 Mar 2010 20:00:58 +0000 (15:00 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 27 Mar 2010 19:20:16 +0000 (15:20 -0400)
commit421e33d0045ac0aa119c033b78742e0fbf4c3b21
tree70cb2358ce9ad1d2e534098ee4088dd24278d873
parentebd09ec93c90c8ec571d7e166832fb1fc705bf5e
[SCSI] qla1280: retain firmware for error recovery

The qla1280 driver acquires its firmware via udev.  During boot the firmware
is located in the initrd.  If, after root is mounted, the adapter needs to
reload firmware (host reset), the firmware load may fail if the root device
is on the adapter being reset.  This patch modifies qla1280 to retain the
firmware loaded via the initial request_firmware() for use during error
recovery.

[jejb: fix up checkpatch issues]
Signed-off-by: Michael Reed <mdr@sgi.com>
Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla1280.c