[SCSI] be2iscsi: changing the chip opcode for TEXT
authorJayamohan Kallickal <jayamohank@serverengines.com>
Sat, 23 Jan 2010 00:08:56 +0000 (05:38 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 9 Feb 2010 00:34:18 +0000 (18:34 -0600)
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>
drivers/scsi/be2iscsi/be_main.c

index 85c0e80628a8dea4f3bf34c3c91077c1abb1d6ba..932cb8ab8db688d709e89078c0f14c83089a8860 100644 (file)
@@ -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:
This page took 0.029228 seconds and 5 git commands to generate.