aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohank@serverengines.com>2010-01-22 19:08:56 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-02-08 19:34:18 -0500
commitb30c6dab1d87cc638a7413dd0e778d8c9a5232eb (patch)
tree6c945b079410fe459dfe08ed485f22754bb998c5 /drivers/scsi/be2iscsi
parentcaf818f118b1ea60226a884072f1c3a9d5714766 (diff)
[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')
-rw-r--r--drivers/scsi/be2iscsi/be_main.c3
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)
3513 break; 3513 break;
3514 case ISCSI_OP_TEXT: 3514 case ISCSI_OP_TEXT:
3515 AMAP_SET_BITS(struct amap_iscsi_wrb, type, pwrb, 3515 AMAP_SET_BITS(struct amap_iscsi_wrb, type, pwrb,
3516 INI_WR_CMD); 3516 TGT_DM_CMD);
3517 AMAP_SET_BITS(struct amap_iscsi_wrb, dmsg, pwrb, 0); 3517 AMAP_SET_BITS(struct amap_iscsi_wrb, dmsg, pwrb, 0);
3518 AMAP_SET_BITS(struct amap_iscsi_wrb, dsp, pwrb, 1);
3519 hwi_write_buffer(pwrb, task); 3518 hwi_write_buffer(pwrb, task);
3520 break; 3519 break;
3521 case ISCSI_OP_SCSI_TMFUNC: 3520 case ISCSI_OP_SCSI_TMFUNC: