aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@qlogic.com>2011-05-10 14:30:09 -0400
committerJames Bottomley <jbottomley@parallels.com>2011-05-17 03:32:11 -0400
commit875efad774f05433210c8d99af405260cfda4f09 (patch)
tree98c0a6829ec4b1e8cd898e10fa8b9ab88b39ae15 /drivers/scsi
parent134ae078504293cadeecc8550c4def876a42b07b (diff)
[SCSI] qla2xxx: Log if qla82xx firmware fails to load from flash.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <jbottomley@parallels.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_nx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 8b217f39d23c..752b03e7622a 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -2410,9 +2410,13 @@ qla82xx_load_fw(scsi_qla_host_t *vha)
2410 2410
2411 if (qla82xx_fw_load_from_flash(ha) == QLA_SUCCESS) { 2411 if (qla82xx_fw_load_from_flash(ha) == QLA_SUCCESS) {
2412 qla_printk(KERN_ERR, ha, 2412 qla_printk(KERN_ERR, ha,
2413 "Firmware loaded successfully from flash\n"); 2413 "Firmware loaded successfully from flash\n");
2414 return QLA_SUCCESS; 2414 return QLA_SUCCESS;
2415 } else {
2416 qla_printk(KERN_ERR, ha,
2417 "Firmware load from flash failed\n");
2415 } 2418 }
2419
2416try_blob_fw: 2420try_blob_fw:
2417 qla_printk(KERN_INFO, ha, 2421 qla_printk(KERN_INFO, ha,
2418 "Attempting to load firmware from blob\n"); 2422 "Attempting to load firmware from blob\n");