aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorRavi Anand <ravi.anand@qlogic.com>2008-04-03 16:13:25 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 13:19:15 -0400
commitb93480e319654b8921364b49528532dff4822a45 (patch)
tree531868d8520565ddca78a53f152f6cc43a542a5c /drivers/scsi/qla2xxx
parent523ec773b8ffb1c607bc3a54c9526558e3b1eab1 (diff)
[SCSI] qla2xxx: Assign mailbox command timeout values in a consistent manner.
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_mbx.c62
1 files changed, 31 insertions, 31 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index c1af56dec4d4..beff743c536b 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -310,7 +310,7 @@ qla2x00_load_ram(scsi_qla_host_t *ha, dma_addr_t req_dma, uint32_t risc_addr,
310 } 310 }
311 311
312 mcp->in_mb = MBX_0; 312 mcp->in_mb = MBX_0;
313 mcp->tov = 30; 313 mcp->tov = MBX_TOV_SECONDS;
314 mcp->flags = 0; 314 mcp->flags = 0;
315 rval = qla2x00_mailbox_command(ha, mcp); 315 rval = qla2x00_mailbox_command(ha, mcp);
316 316
@@ -367,7 +367,7 @@ qla2x00_execute_fw(scsi_qla_host_t *ha, uint32_t risc_addr)
367 } 367 }
368 } 368 }
369 369
370 mcp->tov = 30; 370 mcp->tov = MBX_TOV_SECONDS;
371 mcp->flags = 0; 371 mcp->flags = 0;
372 rval = qla2x00_mailbox_command(ha, mcp); 372 rval = qla2x00_mailbox_command(ha, mcp);
373 373
@@ -417,7 +417,7 @@ qla2x00_get_fw_version(scsi_qla_host_t *ha, uint16_t *major, uint16_t *minor,
417 mcp->out_mb = MBX_0; 417 mcp->out_mb = MBX_0;
418 mcp->in_mb = MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0; 418 mcp->in_mb = MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0;
419 mcp->flags = 0; 419 mcp->flags = 0;
420 mcp->tov = 30; 420 mcp->tov = MBX_TOV_SECONDS;
421 rval = qla2x00_mailbox_command(ha, mcp); 421 rval = qla2x00_mailbox_command(ha, mcp);
422 422
423 /* Return mailbox data. */ 423 /* Return mailbox data. */
@@ -466,7 +466,7 @@ qla2x00_get_fw_options(scsi_qla_host_t *ha, uint16_t *fwopts)
466 mcp->mb[0] = MBC_GET_FIRMWARE_OPTION; 466 mcp->mb[0] = MBC_GET_FIRMWARE_OPTION;
467 mcp->out_mb = MBX_0; 467 mcp->out_mb = MBX_0;
468 mcp->in_mb = MBX_3|MBX_2|MBX_1|MBX_0; 468 mcp->in_mb = MBX_3|MBX_2|MBX_1|MBX_0;
469 mcp->tov = 30; 469 mcp->tov = MBX_TOV_SECONDS;
470 mcp->flags = 0; 470 mcp->flags = 0;
471 rval = qla2x00_mailbox_command(ha, mcp); 471 rval = qla2x00_mailbox_command(ha, mcp);
472 472
@@ -524,7 +524,7 @@ qla2x00_set_fw_options(scsi_qla_host_t *ha, uint16_t *fwopts)
524 mcp->mb[12] = 0; /* Undocumented, but used */ 524 mcp->mb[12] = 0; /* Undocumented, but used */
525 mcp->out_mb |= MBX_12|MBX_11|MBX_10; 525 mcp->out_mb |= MBX_12|MBX_11|MBX_10;
526 } 526 }
527 mcp->tov = 30; 527 mcp->tov = MBX_TOV_SECONDS;
528 mcp->flags = 0; 528 mcp->flags = 0;
529 rval = qla2x00_mailbox_command(ha, mcp); 529 rval = qla2x00_mailbox_command(ha, mcp);
530 530
@@ -576,7 +576,7 @@ qla2x00_mbx_reg_test(scsi_qla_host_t *ha)
576 mcp->mb[7] = 0x2525; 576 mcp->mb[7] = 0x2525;
577 mcp->out_mb = MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0; 577 mcp->out_mb = MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0;
578 mcp->in_mb = MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0; 578 mcp->in_mb = MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0;
579 mcp->tov = 30; 579 mcp->tov = MBX_TOV_SECONDS;
580 mcp->flags = 0; 580 mcp->flags = 0;
581 rval = qla2x00_mailbox_command(ha, mcp); 581 rval = qla2x00_mailbox_command(ha, mcp);
582 582
@@ -648,7 +648,7 @@ qla2x00_verify_checksum(scsi_qla_host_t *ha, uint32_t risc_addr)
648 mcp->in_mb |= MBX_1; 648 mcp->in_mb |= MBX_1;
649 } 649 }
650 650
651 mcp->tov = 30; 651 mcp->tov = MBX_TOV_SECONDS;
652 mcp->flags = 0; 652 mcp->flags = 0;
653 rval = qla2x00_mailbox_command(ha, mcp); 653 rval = qla2x00_mailbox_command(ha, mcp);
654 654
@@ -697,7 +697,7 @@ qla2x00_issue_iocb(scsi_qla_host_t *ha, void* buffer, dma_addr_t phys_addr,
697 mcp->mb[7] = LSW(MSD(phys_addr)); 697 mcp->mb[7] = LSW(MSD(phys_addr));
698 mcp->out_mb = MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0; 698 mcp->out_mb = MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0;
699 mcp->in_mb = MBX_2|MBX_0; 699 mcp->in_mb = MBX_2|MBX_0;
700 mcp->tov = 30; 700 mcp->tov = MBX_TOV_SECONDS;
701 mcp->flags = 0; 701 mcp->flags = 0;
702 rval = qla2x00_mailbox_command(ha, mcp); 702 rval = qla2x00_mailbox_command(ha, mcp);
703 703
@@ -768,7 +768,7 @@ qla2x00_abort_command(scsi_qla_host_t *ha, srb_t *sp)
768 mcp->mb[6] = (uint16_t)sp->cmd->device->lun; 768 mcp->mb[6] = (uint16_t)sp->cmd->device->lun;
769 mcp->out_mb = MBX_6|MBX_3|MBX_2|MBX_1|MBX_0; 769 mcp->out_mb = MBX_6|MBX_3|MBX_2|MBX_1|MBX_0;
770 mcp->in_mb = MBX_0; 770 mcp->in_mb = MBX_0;
771 mcp->tov = 30; 771 mcp->tov = MBX_TOV_SECONDS;
772 mcp->flags = 0; 772 mcp->flags = 0;
773 rval = qla2x00_mailbox_command(ha, mcp); 773 rval = qla2x00_mailbox_command(ha, mcp);
774 774
@@ -809,7 +809,7 @@ qla2x00_abort_target(struct fc_port *fcport, unsigned int l)
809 mcp->mb[9] = ha->vp_idx; 809 mcp->mb[9] = ha->vp_idx;
810 810
811 mcp->in_mb = MBX_0; 811 mcp->in_mb = MBX_0;
812 mcp->tov = 30; 812 mcp->tov = MBX_TOV_SECONDS;
813 mcp->flags = 0; 813 mcp->flags = 0;
814 rval = qla2x00_mailbox_command(ha, mcp); 814 rval = qla2x00_mailbox_command(ha, mcp);
815 if (rval != QLA_SUCCESS) { 815 if (rval != QLA_SUCCESS) {
@@ -851,7 +851,7 @@ qla2x00_lun_reset(struct fc_port *fcport, unsigned int l)
851 mcp->mb[9] = ha->vp_idx; 851 mcp->mb[9] = ha->vp_idx;
852 852
853 mcp->in_mb = MBX_0; 853 mcp->in_mb = MBX_0;
854 mcp->tov = 30; 854 mcp->tov = MBX_TOV_SECONDS;
855 mcp->flags = 0; 855 mcp->flags = 0;
856 rval = qla2x00_mailbox_command(ha, mcp); 856 rval = qla2x00_mailbox_command(ha, mcp);
857 if (rval != QLA_SUCCESS) { 857 if (rval != QLA_SUCCESS) {
@@ -906,7 +906,7 @@ qla2x00_get_adapter_id(scsi_qla_host_t *ha, uint16_t *id, uint8_t *al_pa,
906 mcp->mb[9] = ha->vp_idx; 906 mcp->mb[9] = ha->vp_idx;
907 mcp->out_mb = MBX_9|MBX_0; 907 mcp->out_mb = MBX_9|MBX_0;
908 mcp->in_mb = MBX_9|MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0; 908 mcp->in_mb = MBX_9|MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0;
909 mcp->tov = 30; 909 mcp->tov = MBX_TOV_SECONDS;
910 mcp->flags = 0; 910 mcp->flags = 0;
911 rval = qla2x00_mailbox_command(ha, mcp); 911 rval = qla2x00_mailbox_command(ha, mcp);
912 if (mcp->mb[0] == MBS_COMMAND_ERROR) 912 if (mcp->mb[0] == MBS_COMMAND_ERROR)
@@ -963,7 +963,7 @@ qla2x00_get_retry_cnt(scsi_qla_host_t *ha, uint8_t *retry_cnt, uint8_t *tov,
963 mcp->mb[0] = MBC_GET_RETRY_COUNT; 963 mcp->mb[0] = MBC_GET_RETRY_COUNT;
964 mcp->out_mb = MBX_0; 964 mcp->out_mb = MBX_0;
965 mcp->in_mb = MBX_3|MBX_2|MBX_1|MBX_0; 965 mcp->in_mb = MBX_3|MBX_2|MBX_1|MBX_0;
966 mcp->tov = 30; 966 mcp->tov = MBX_TOV_SECONDS;
967 mcp->flags = 0; 967 mcp->flags = 0;
968 rval = qla2x00_mailbox_command(ha, mcp); 968 rval = qla2x00_mailbox_command(ha, mcp);
969 969
@@ -1030,7 +1030,7 @@ qla2x00_init_firmware(scsi_qla_host_t *ha, uint16_t size)
1030 mcp->in_mb = MBX_5|MBX_4|MBX_0; 1030 mcp->in_mb = MBX_5|MBX_4|MBX_0;
1031 mcp->buf_size = size; 1031 mcp->buf_size = size;
1032 mcp->flags = MBX_DMA_OUT; 1032 mcp->flags = MBX_DMA_OUT;
1033 mcp->tov = 30; 1033 mcp->tov = MBX_TOV_SECONDS;
1034 rval = qla2x00_mailbox_command(ha, mcp); 1034 rval = qla2x00_mailbox_command(ha, mcp);
1035 1035
1036 if (rval != QLA_SUCCESS) { 1036 if (rval != QLA_SUCCESS) {
@@ -1220,7 +1220,7 @@ qla2x00_get_firmware_state(scsi_qla_host_t *ha, uint16_t *dptr)
1220 mcp->mb[0] = MBC_GET_FIRMWARE_STATE; 1220 mcp->mb[0] = MBC_GET_FIRMWARE_STATE;
1221 mcp->out_mb = MBX_0; 1221 mcp->out_mb = MBX_0;
1222 mcp->in_mb = MBX_2|MBX_1|MBX_0; 1222 mcp->in_mb = MBX_2|MBX_1|MBX_0;
1223 mcp->tov = 30; 1223 mcp->tov = MBX_TOV_SECONDS;
1224 mcp->flags = 0; 1224 mcp->flags = 0;
1225 rval = qla2x00_mailbox_command(ha, mcp); 1225 rval = qla2x00_mailbox_command(ha, mcp);
1226 1226
@@ -1281,7 +1281,7 @@ qla2x00_get_port_name(scsi_qla_host_t *ha, uint16_t loop_id, uint8_t *name,
1281 } 1281 }
1282 1282
1283 mcp->in_mb = MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0; 1283 mcp->in_mb = MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0;
1284 mcp->tov = 30; 1284 mcp->tov = MBX_TOV_SECONDS;
1285 mcp->flags = 0; 1285 mcp->flags = 0;
1286 rval = qla2x00_mailbox_command(ha, mcp); 1286 rval = qla2x00_mailbox_command(ha, mcp);
1287 1287
@@ -1353,7 +1353,7 @@ qla2x00_lip_reset(scsi_qla_host_t *ha)
1353 mcp->mb[3] = 0; 1353 mcp->mb[3] = 0;
1354 } 1354 }
1355 mcp->in_mb = MBX_0; 1355 mcp->in_mb = MBX_0;
1356 mcp->tov = 30; 1356 mcp->tov = MBX_TOV_SECONDS;
1357 mcp->flags = 0; 1357 mcp->flags = 0;
1358 rval = qla2x00_mailbox_command(ha, mcp); 1358 rval = qla2x00_mailbox_command(ha, mcp);
1359 1359
@@ -1778,7 +1778,7 @@ qla2x00_fabric_logout(scsi_qla_host_t *ha, uint16_t loop_id, uint8_t domain,
1778 } 1778 }
1779 1779
1780 mcp->in_mb = MBX_1|MBX_0; 1780 mcp->in_mb = MBX_1|MBX_0;
1781 mcp->tov = 30; 1781 mcp->tov = MBX_TOV_SECONDS;
1782 mcp->flags = 0; 1782 mcp->flags = 0;
1783 rval = qla2x00_mailbox_command(ha, mcp); 1783 rval = qla2x00_mailbox_command(ha, mcp);
1784 1784
@@ -1826,7 +1826,7 @@ qla2x00_full_login_lip(scsi_qla_host_t *ha)
1826 mcp->mb[3] = 0; 1826 mcp->mb[3] = 0;
1827 mcp->out_mb = MBX_3|MBX_2|MBX_1|MBX_0; 1827 mcp->out_mb = MBX_3|MBX_2|MBX_1|MBX_0;
1828 mcp->in_mb = MBX_0; 1828 mcp->in_mb = MBX_0;
1829 mcp->tov = 30; 1829 mcp->tov = MBX_TOV_SECONDS;
1830 mcp->flags = 0; 1830 mcp->flags = 0;
1831 rval = qla2x00_mailbox_command(ha, mcp); 1831 rval = qla2x00_mailbox_command(ha, mcp);
1832 1832
@@ -1887,7 +1887,7 @@ qla2x00_get_id_list(scsi_qla_host_t *ha, void *id_list, dma_addr_t id_list_dma,
1887 mcp->out_mb |= MBX_6|MBX_3|MBX_2|MBX_1; 1887 mcp->out_mb |= MBX_6|MBX_3|MBX_2|MBX_1;
1888 } 1888 }
1889 mcp->in_mb = MBX_1|MBX_0; 1889 mcp->in_mb = MBX_1|MBX_0;
1890 mcp->tov = 30; 1890 mcp->tov = MBX_TOV_SECONDS;
1891 mcp->flags = 0; 1891 mcp->flags = 0;
1892 rval = qla2x00_mailbox_command(ha, mcp); 1892 rval = qla2x00_mailbox_command(ha, mcp);
1893 1893
@@ -1931,7 +1931,7 @@ qla2x00_get_resource_cnts(scsi_qla_host_t *ha, uint16_t *cur_xchg_cnt,
1931 mcp->mb[0] = MBC_GET_RESOURCE_COUNTS; 1931 mcp->mb[0] = MBC_GET_RESOURCE_COUNTS;
1932 mcp->out_mb = MBX_0; 1932 mcp->out_mb = MBX_0;
1933 mcp->in_mb = MBX_11|MBX_10|MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0; 1933 mcp->in_mb = MBX_11|MBX_10|MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0;
1934 mcp->tov = 30; 1934 mcp->tov = MBX_TOV_SECONDS;
1935 mcp->flags = 0; 1935 mcp->flags = 0;
1936 rval = qla2x00_mailbox_command(ha, mcp); 1936 rval = qla2x00_mailbox_command(ha, mcp);
1937 1937
@@ -2071,7 +2071,7 @@ qla2x00_get_link_status(scsi_qla_host_t *ha, uint16_t loop_id,
2071 mcp->mb[1] = loop_id << 8; 2071 mcp->mb[1] = loop_id << 8;
2072 mcp->out_mb |= MBX_1; 2072 mcp->out_mb |= MBX_1;
2073 } 2073 }
2074 mcp->tov = 30; 2074 mcp->tov = MBX_TOV_SECONDS;
2075 mcp->flags = IOCTL_CMD; 2075 mcp->flags = IOCTL_CMD;
2076 rval = qla2x00_mailbox_command(ha, mcp); 2076 rval = qla2x00_mailbox_command(ha, mcp);
2077 2077
@@ -2117,7 +2117,7 @@ qla24xx_get_isp_stats(scsi_qla_host_t *ha, struct link_statistics *stats,
2117 mcp->mb[10] = 0; 2117 mcp->mb[10] = 0;
2118 mcp->out_mb = MBX_10|MBX_9|MBX_8|MBX_7|MBX_6|MBX_3|MBX_2|MBX_0; 2118 mcp->out_mb = MBX_10|MBX_9|MBX_8|MBX_7|MBX_6|MBX_3|MBX_2|MBX_0;
2119 mcp->in_mb = MBX_2|MBX_1|MBX_0; 2119 mcp->in_mb = MBX_2|MBX_1|MBX_0;
2120 mcp->tov = 30; 2120 mcp->tov = MBX_TOV_SECONDS;
2121 mcp->flags = IOCTL_CMD; 2121 mcp->flags = IOCTL_CMD;
2122 rval = qla2x00_mailbox_command(ha, mcp); 2122 rval = qla2x00_mailbox_command(ha, mcp);
2123 2123
@@ -2351,7 +2351,7 @@ qla2x00_set_serdes_params(scsi_qla_host_t *ha, uint16_t sw_em_1g,
2351 mcp->mb[4] = sw_em_4g | BIT_15; 2351 mcp->mb[4] = sw_em_4g | BIT_15;
2352 mcp->out_mb = MBX_4|MBX_3|MBX_2|MBX_1|MBX_0; 2352 mcp->out_mb = MBX_4|MBX_3|MBX_2|MBX_1|MBX_0;
2353 mcp->in_mb = MBX_0; 2353 mcp->in_mb = MBX_0;
2354 mcp->tov = 30; 2354 mcp->tov = MBX_TOV_SECONDS;
2355 mcp->flags = 0; 2355 mcp->flags = 0;
2356 rval = qla2x00_mailbox_command(ha, mcp); 2356 rval = qla2x00_mailbox_command(ha, mcp);
2357 2357
@@ -2419,7 +2419,7 @@ qla2x00_enable_eft_trace(scsi_qla_host_t *ha, dma_addr_t eft_dma,
2419 mcp->mb[7] = TC_AEN_DISABLE; 2419 mcp->mb[7] = TC_AEN_DISABLE;
2420 mcp->out_mb = MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0; 2420 mcp->out_mb = MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0;
2421 mcp->in_mb = MBX_1|MBX_0; 2421 mcp->in_mb = MBX_1|MBX_0;
2422 mcp->tov = 30; 2422 mcp->tov = MBX_TOV_SECONDS;
2423 mcp->flags = 0; 2423 mcp->flags = 0;
2424 rval = qla2x00_mailbox_command(ha, mcp); 2424 rval = qla2x00_mailbox_command(ha, mcp);
2425 if (rval != QLA_SUCCESS) { 2425 if (rval != QLA_SUCCESS) {
@@ -2448,7 +2448,7 @@ qla2x00_disable_eft_trace(scsi_qla_host_t *ha)
2448 mcp->mb[1] = TC_EFT_DISABLE; 2448 mcp->mb[1] = TC_EFT_DISABLE;
2449 mcp->out_mb = MBX_1|MBX_0; 2449 mcp->out_mb = MBX_1|MBX_0;
2450 mcp->in_mb = MBX_1|MBX_0; 2450 mcp->in_mb = MBX_1|MBX_0;
2451 mcp->tov = 30; 2451 mcp->tov = MBX_TOV_SECONDS;
2452 mcp->flags = 0; 2452 mcp->flags = 0;
2453 rval = qla2x00_mailbox_command(ha, mcp); 2453 rval = qla2x00_mailbox_command(ha, mcp);
2454 if (rval != QLA_SUCCESS) { 2454 if (rval != QLA_SUCCESS) {
@@ -2488,7 +2488,7 @@ qla2x00_enable_fce_trace(scsi_qla_host_t *ha, dma_addr_t fce_dma,
2488 mcp->out_mb = MBX_10|MBX_9|MBX_8|MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2| 2488 mcp->out_mb = MBX_10|MBX_9|MBX_8|MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|
2489 MBX_1|MBX_0; 2489 MBX_1|MBX_0;
2490 mcp->in_mb = MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0; 2490 mcp->in_mb = MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0;
2491 mcp->tov = 30; 2491 mcp->tov = MBX_TOV_SECONDS;
2492 mcp->flags = 0; 2492 mcp->flags = 0;
2493 rval = qla2x00_mailbox_command(ha, mcp); 2493 rval = qla2x00_mailbox_command(ha, mcp);
2494 if (rval != QLA_SUCCESS) { 2494 if (rval != QLA_SUCCESS) {
@@ -2524,7 +2524,7 @@ qla2x00_disable_fce_trace(scsi_qla_host_t *ha, uint64_t *wr, uint64_t *rd)
2524 mcp->out_mb = MBX_2|MBX_1|MBX_0; 2524 mcp->out_mb = MBX_2|MBX_1|MBX_0;
2525 mcp->in_mb = MBX_9|MBX_8|MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2| 2525 mcp->in_mb = MBX_9|MBX_8|MBX_7|MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|
2526 MBX_1|MBX_0; 2526 MBX_1|MBX_0;
2527 mcp->tov = 30; 2527 mcp->tov = MBX_TOV_SECONDS;
2528 mcp->flags = 0; 2528 mcp->flags = 0;
2529 rval = qla2x00_mailbox_command(ha, mcp); 2529 rval = qla2x00_mailbox_command(ha, mcp);
2530 if (rval != QLA_SUCCESS) { 2530 if (rval != QLA_SUCCESS) {
@@ -2572,7 +2572,7 @@ qla2x00_read_sfp(scsi_qla_host_t *ha, dma_addr_t sfp_dma, uint16_t addr,
2572 mcp->mb[10] = 0; 2572 mcp->mb[10] = 0;
2573 mcp->out_mb = MBX_10|MBX_9|MBX_8|MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0; 2573 mcp->out_mb = MBX_10|MBX_9|MBX_8|MBX_7|MBX_6|MBX_3|MBX_2|MBX_1|MBX_0;
2574 mcp->in_mb = MBX_0; 2574 mcp->in_mb = MBX_0;
2575 mcp->tov = 30; 2575 mcp->tov = MBX_TOV_SECONDS;
2576 mcp->flags = 0; 2576 mcp->flags = 0;
2577 rval = qla2x00_mailbox_command(ha, mcp); 2577 rval = qla2x00_mailbox_command(ha, mcp);
2578 2578
@@ -2606,7 +2606,7 @@ qla2x00_set_idma_speed(scsi_qla_host_t *ha, uint16_t loop_id,
2606 mcp->mb[4] = mcp->mb[5] = 0; 2606 mcp->mb[4] = mcp->mb[5] = 0;
2607 mcp->out_mb = MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0; 2607 mcp->out_mb = MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0;
2608 mcp->in_mb = MBX_5|MBX_4|MBX_3|MBX_1|MBX_0; 2608 mcp->in_mb = MBX_5|MBX_4|MBX_3|MBX_1|MBX_0;
2609 mcp->tov = 30; 2609 mcp->tov = MBX_TOV_SECONDS;
2610 mcp->flags = 0; 2610 mcp->flags = 0;
2611 rval = qla2x00_mailbox_command(ha, mcp); 2611 rval = qla2x00_mailbox_command(ha, mcp);
2612 2612
@@ -2924,7 +2924,7 @@ qla2x00_dump_ram(scsi_qla_host_t *ha, dma_addr_t req_dma, uint32_t addr,
2924 } 2924 }
2925 2925
2926 mcp->in_mb = MBX_0; 2926 mcp->in_mb = MBX_0;
2927 mcp->tov = 30; 2927 mcp->tov = MBX_TOV_SECONDS;
2928 mcp->flags = 0; 2928 mcp->flags = 0;
2929 rval = qla2x00_mailbox_command(ha, mcp); 2929 rval = qla2x00_mailbox_command(ha, mcp);
2930 2930