Skip to contentSkip to conversation

mpt2sas : When SCSI command is received with task atrribute not set, set it to SIMPLE

PATCH In review Sreekanth Reddy 2 participants 2 messages Feb 1, 2013 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 6/8 mpt2sas : When SCSI command is received with task atrribute not set, set it to SIMPLE

When SCSI command is received with task attribute not set, set it to SIMPLE. Previously it is set to untagged. This causes the firmware to fail the commands.

---

drivers/scsi/mpt2sas/mpt2sas_scsih.c +1 -5
index 014caef..3b150b8 100644
@@ -3998,11 +3998,7 @@ _scsih_qcmd_lck(struct scsi_cmnd *scmd, void (*done)(struct scsi_cmnd *))
 			else
 				mpi_control |= MPI2_SCSIIO_CONTROL_SIMPLEQ;
 		} else
-/* MPI Revision I (UNIT = 0xA) - removed MPI2_SCSIIO_CONTROL_UNTAGGED */
-/*			mpi_control |= MPI2_SCSIIO_CONTROL_UNTAGGED;
- */
-			mpi_control |= (0x500);
-
+			mpi_control |= MPI2_SCSIIO_CONTROL_SIMPLEQ;
 	} else
 		mpi_control |= MPI2_SCSIIO_CONTROL_SIMPLEQ;
 	/* Make sure Device is not raid volume.
#1 lore raw
Quoted 6 lines · Sreekanth Reddy

When SCSI command is received with task attribute not set, set it to SIMPLE. Previously it is set to untagged. This causes the firmware to fail the commands.

---

<formletter>

This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.

</formletter>