Skip to contentSkip to conversation

be2iscsi: changing the chip opcode for TEXT

PATCH New Jayamohan Kallickal 1 participant 1 message Jan 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 7/8 be2iscsi: changing the chip opcode for TEXT

This patch corrects the chipopcode for text and chooses
correct paramters for that command

---
 drivers/scsi/be2iscsi/be_main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/scsi/be2iscsi/be_main.c +1 -2
index 85c0e80..932cb8a 100644
@@ -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:
Signature · 1 line
1.6.4