aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mbx.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2007-09-20 17:07:48 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:50:33 -0400
commit8b3253d10f1c7910c96d4acad4ef490f30799b21 (patch)
tree6b7fe6f1a182e378984d4cd14df549db34aed133 /drivers/scsi/qla2xxx/qla_mbx.c
parent26ff776d1dd9147eb658c55f1df42c2c232036b5 (diff)
[SCSI] qla2xxx: Clear options-flags while staging firmware-execution.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mbx.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_mbx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index ec48871ad55c..c53ec67c47f4 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -391,7 +391,8 @@ qla2x00_execute_fw(scsi_qla_host_t *ha, uint32_t risc_addr)
391 mcp->mb[1] = MSW(risc_addr); 391 mcp->mb[1] = MSW(risc_addr);
392 mcp->mb[2] = LSW(risc_addr); 392 mcp->mb[2] = LSW(risc_addr);
393 mcp->mb[3] = 0; 393 mcp->mb[3] = 0;
394 mcp->out_mb |= MBX_3|MBX_2|MBX_1; 394 mcp->mb[4] = 0;
395 mcp->out_mb |= MBX_4|MBX_3|MBX_2|MBX_1;
395 mcp->in_mb |= MBX_1; 396 mcp->in_mb |= MBX_1;
396 } else { 397 } else {
397 mcp->mb[1] = LSW(risc_addr); 398 mcp->mb[1] = LSW(risc_addr);