[SCSI] be2iscsi: changing the chip opcode for TEXT
This patch corrects the chipopcode for text and chooses correct paramters for that command Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
caf818f118
commit
b30c6dab1d
@@ -3513,9 +3513,8 @@ static int beiscsi_mtask(struct iscsi_task *task)
|
|||||||
break;
|
break;
|
||||||
case ISCSI_OP_TEXT:
|
case ISCSI_OP_TEXT:
|
||||||
AMAP_SET_BITS(struct amap_iscsi_wrb, type, pwrb,
|
AMAP_SET_BITS(struct amap_iscsi_wrb, type, pwrb,
|
||||||
INI_WR_CMD);
|
TGT_DM_CMD);
|
||||||
AMAP_SET_BITS(struct amap_iscsi_wrb, dmsg, pwrb, 0);
|
AMAP_SET_BITS(struct amap_iscsi_wrb, dmsg, pwrb, 0);
|
||||||
AMAP_SET_BITS(struct amap_iscsi_wrb, dsp, pwrb, 1);
|
|
||||||
hwi_write_buffer(pwrb, task);
|
hwi_write_buffer(pwrb, task);
|
||||||
break;
|
break;
|
||||||
case ISCSI_OP_SCSI_TMFUNC:
|
case ISCSI_OP_SCSI_TMFUNC:
|
||||||
|
Reference in New Issue
Block a user