mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 02:02:28 +09:00
SCSI: mpt2sas: fix firmware failure with wrong task attribute
commit 48ba2efc38 upstream.
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.
Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8f425c63ec
commit
47c00d01fb
@@ -3994,11 +3994,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.
|
||||
|
||||
Reference in New Issue
Block a user