summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_sup.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2009-06-03 09:55:17 -0700
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-08 14:46:41 -0500
commitcbc8eb67da11a4972834f61fe4729f4c037a17c9 (patch)
tree52880ae49bce8a8b733d0d59bd84b324eb0871ef /drivers/scsi/qla2xxx/qla_sup.c
parent40859ae5f13534624cc35a05179b4f93ecbf531a (diff)
downloadop-kernel-dev-cbc8eb67da11a4972834f61fe4729f4c037a17c9.zip
op-kernel-dev-cbc8eb67da11a4972834f61fe4729f4c037a17c9.tar.gz
[SCSI] qla2xxx: Fallback to 'golden-firmware' operation on supported ISPs.
In case the onboard firmware is unable to be read or loaded for operation, attempt to fallback to a limited-operational firmware image stored in a different flash region. This will allow a user to reflash and correct a board with proper operational firmware. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_sup.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_sup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c
index e239203..6260505 100644
--- a/drivers/scsi/qla2xxx/qla_sup.c
+++ b/drivers/scsi/qla2xxx/qla_sup.c
@@ -728,6 +728,9 @@ qla2xxx_get_flt_info(scsi_qla_host_t *vha, uint32_t flt_addr)
if (!ha->flags.port0)
ha->flt_region_npiv_conf = start;
break;
+ case FLT_REG_GOLD_FW:
+ ha->flt_region_gold_fw = start;
+ break;
}
}
goto done;
OpenPOWER on IntegriCloud