aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mbx.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-01-31 12:24:00 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-01-31 12:24:00 -0500
commit30716e07ef511ec7525c07eb1e8060ba8943c2a2 (patch)
treeeb6a47cae63d3587fa773cc5a16781eaa2c7810b /drivers/scsi/qla2xxx/qla_mbx.c
parent03c79cc56e4497cbd09d74a73c1bd0d1d9a8a16c (diff)
parentf56df2f4db6e4af87fb8e941cff69f4501a111df (diff)
Merge branch 'linus'
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mbx.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_mbx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index c6f0cdf4cdc4..83376f6ac3db 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -1323,9 +1323,9 @@ qla2x00_lip_reset(scsi_qla_host_t *ha)
1323 1323
1324 if (IS_QLA24XX(ha) || IS_QLA54XX(ha)) { 1324 if (IS_QLA24XX(ha) || IS_QLA54XX(ha)) {
1325 mcp->mb[0] = MBC_LIP_FULL_LOGIN; 1325 mcp->mb[0] = MBC_LIP_FULL_LOGIN;
1326 mcp->mb[1] = BIT_0; 1326 mcp->mb[1] = BIT_6;
1327 mcp->mb[2] = 0xff; 1327 mcp->mb[2] = 0;
1328 mcp->mb[3] = 0; 1328 mcp->mb[3] = ha->loop_reset_delay;
1329 mcp->out_mb = MBX_3|MBX_2|MBX_1|MBX_0; 1329 mcp->out_mb = MBX_3|MBX_2|MBX_1|MBX_0;
1330 } else { 1330 } else {
1331 mcp->mb[0] = MBC_LIP_RESET; 1331 mcp->mb[0] = MBC_LIP_RESET;
@@ -1807,8 +1807,8 @@ qla2x00_full_login_lip(scsi_qla_host_t *ha)
1807 ha->host_no)); 1807 ha->host_no));
1808 1808
1809 mcp->mb[0] = MBC_LIP_FULL_LOGIN; 1809 mcp->mb[0] = MBC_LIP_FULL_LOGIN;
1810 mcp->mb[1] = 0; 1810 mcp->mb[1] = IS_QLA24XX(ha) || IS_QLA54XX(ha) ? BIT_3: 0;
1811 mcp->mb[2] = 0xff; 1811 mcp->mb[2] = 0;
1812 mcp->mb[3] = 0; 1812 mcp->mb[3] = 0;
1813 mcp->out_mb = MBX_3|MBX_2|MBX_1|MBX_0; 1813 mcp->out_mb = MBX_3|MBX_2|MBX_1|MBX_0;
1814 mcp->in_mb = MBX_0; 1814 mcp->in_mb = MBX_0;
@@ -2470,7 +2470,7 @@ qla2x00_trace_control(scsi_qla_host_t *ha, uint16_t ctrl, dma_addr_t eft_dma,
2470 mcp->mb[4] = LSW(MSD(eft_dma)); 2470 mcp->mb[4] = LSW(MSD(eft_dma));
2471 mcp->mb[5] = MSW(MSD(eft_dma)); 2471 mcp->mb[5] = MSW(MSD(eft_dma));
2472 mcp->mb[6] = buffers; 2472 mcp->mb[6] = buffers;
2473 mcp->mb[7] = buffers; 2473 mcp->mb[7] = 0;
2474 mcp->out_mb |= MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2; 2474 mcp->out_mb |= MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2;
2475 } 2475 }
2476 mcp->tov = 30; 2476 mcp->tov = 30;