diff options
author | Jayamohan Kallickal <jayamohank@serverengines.com> | 2010-01-23 05:38:56 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-08 18:34:18 -0600 |
commit | b30c6dab1d87cc638a7413dd0e778d8c9a5232eb (patch) | |
tree | 6c945b079410fe459dfe08ed485f22754bb998c5 /drivers/scsi/be2iscsi/be_main.c | |
parent | caf818f118b1ea60226a884072f1c3a9d5714766 (diff) | |
download | lwn-b30c6dab1d87cc638a7413dd0e778d8c9a5232eb.tar.gz lwn-b30c6dab1d87cc638a7413dd0e778d8c9a5232eb.zip |
[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>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 85c0e80628a8..932cb8ab8db6 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -3513,9 +3513,8 @@ static int beiscsi_mtask(struct iscsi_task *task) break; case ISCSI_OP_TEXT: 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, dsp, pwrb, 1); hwi_write_buffer(pwrb, task); break; case ISCSI_OP_SCSI_TMFUNC: |