mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
qla2x00t: Read MBX_2 after MBC_PORT_NODE_NAME_LIST
MBX_2 contains the number of bytes required for the buffer, but
qla2x00_mailbox_command() doesn't request MBX_2 from the firmware.
Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
[ bvanassche: edited commit message ]
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7839 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1368,7 +1368,7 @@ qla2x00_get_node_name_list(scsi_qla_host_t *vha, bool include_initiators,
|
||||
mc.mb[7] = LSW(MSD(pmap_dma));
|
||||
mc.mb[8] = dma_size;
|
||||
mc.out_mb = MBX_0|MBX_1|MBX_2|MBX_3|MBX_6|MBX_7|MBX_8;
|
||||
mc.in_mb = MBX_0|MBX_1;
|
||||
mc.in_mb = MBX_0|MBX_1|MBX_2;
|
||||
mc.tov = 30;
|
||||
mc.flags = MBX_DMA_IN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user