diff options
author | andrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com> | 2006-02-07 11:45:40 -0500 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-07 11:54:05 -0500 |
commit | 247ec457ce108000987be517c83868f6361d9f76 (patch) | |
tree | 6b6cfc25232e8b9a2d43d484d3ee09d6f981b107 /drivers | |
parent | f7757a5f0fa94a0ce4d6ea55f440845bb3faf712 (diff) |
[PATCH] qla2xxx: Pass input-buffer length to Get-ID-List mailbox command.
Recent ISP24xx firmwares require that mailbox register 8 be
set to the maximum number of bytes to transfer during DMA
copying of the list. We safely set this value to zero
(infinite), since the call is *only* made in FCAL
topologies.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mbx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 49ce197876b4..363dfdd042b0 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c | |||
@@ -1873,7 +1873,8 @@ qla2x00_get_id_list(scsi_qla_host_t *ha, void *id_list, dma_addr_t id_list_dma, | |||
1873 | mcp->mb[3] = LSW(id_list_dma); | 1873 | mcp->mb[3] = LSW(id_list_dma); |
1874 | mcp->mb[6] = MSW(MSD(id_list_dma)); | 1874 | mcp->mb[6] = MSW(MSD(id_list_dma)); |
1875 | mcp->mb[7] = LSW(MSD(id_list_dma)); | 1875 | mcp->mb[7] = LSW(MSD(id_list_dma)); |
1876 | mcp->out_mb |= MBX_7|MBX_6|MBX_3|MBX_2; | 1876 | mcp->mb[8] = 0; |
1877 | mcp->out_mb |= MBX_8|MBX_7|MBX_6|MBX_3|MBX_2; | ||
1877 | } else { | 1878 | } else { |
1878 | mcp->mb[1] = MSW(id_list_dma); | 1879 | mcp->mb[1] = MSW(id_list_dma); |
1879 | mcp->mb[2] = LSW(id_list_dma); | 1880 | mcp->mb[2] = LSW(id_list_dma); |