aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>2017-10-10 09:11:19 -0400
committerMartin K. Petersen <martin.petersen@oracle.com>2017-10-11 14:08:07 -0400
commit90e7a70199184ed5f3081981c7cffed771b84bb3 (patch)
tree568ae1caab52c2bcd89878d6b06c41984363148f /drivers/scsi/mpt3sas/mpi/mpi2_init.h
parent2ce9a3645299ba1752873d333d73f67620f4550b (diff)
scsi: mpt3sas: Updated MPI headers to v2.00.48
Updated MPI headers to v2.00.48 Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@broadcom.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_init.h')
-rw-r--r--drivers/scsi/mpt3sas/mpi/mpi2_init.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_init.h b/drivers/scsi/mpt3sas/mpi/mpi2_init.h
index bba56b61d36c..7597c24b7ffa 100644
--- a/drivers/scsi/mpt3sas/mpi/mpi2_init.h
+++ b/drivers/scsi/mpt3sas/mpi/mpi2_init.h
@@ -6,7 +6,7 @@
6 * Title: MPI SCSI initiator mode messages and structures 6 * Title: MPI SCSI initiator mode messages and structures
7 * Creation Date: June 23, 2006 7 * Creation Date: June 23, 2006
8 * 8 *
9 * mpi2_init.h Version: 02.00.20 9 * mpi2_init.h Version: 02.00.21
10 * 10 *
11 * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25 11 * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25
12 * prefix are for use only on MPI v2.5 products, and must not be used 12 * prefix are for use only on MPI v2.5 products, and must not be used
@@ -54,6 +54,8 @@
54 * 08-26-15 02.00.18 Added SCSITASKMGMT_MSGFLAGS for Target Reset. 54 * 08-26-15 02.00.18 Added SCSITASKMGMT_MSGFLAGS for Target Reset.
55 * 12-18-15 02.00.19 Added EEDPObservedValue added to SCSI IO Reply message. 55 * 12-18-15 02.00.19 Added EEDPObservedValue added to SCSI IO Reply message.
56 * 01-04-16 02.00.20 Modified EEDP reported values in SCSI IO Reply message. 56 * 01-04-16 02.00.20 Modified EEDP reported values in SCSI IO Reply message.
57 * 01-21-16 02.00.21 Modified MPI26_SCSITASKMGMT_MSGFLAGS_PCIE* defines to
58 * be unique within first 32 characters.
57 * -------------------------------------------------------------------------- 59 * --------------------------------------------------------------------------
58 */ 60 */
59 61
@@ -373,6 +375,11 @@ typedef struct _MPI2_SCSI_IO_REPLY {
373} MPI2_SCSI_IO_REPLY, *PTR_MPI2_SCSI_IO_REPLY, 375} MPI2_SCSI_IO_REPLY, *PTR_MPI2_SCSI_IO_REPLY,
374 Mpi2SCSIIOReply_t, *pMpi2SCSIIOReply_t; 376 Mpi2SCSIIOReply_t, *pMpi2SCSIIOReply_t;
375 377
378/*SCSI IO Reply MsgFlags bits */
379#define MPI26_SCSIIO_REPLY_MSGFLAGS_REFTAG_OBSERVED_VALID (0x01)
380#define MPI26_SCSIIO_REPLY_MSGFLAGS_GUARD_OBSERVED_VALID (0x02)
381#define MPI26_SCSIIO_REPLY_MSGFLAGS_APPTAG_OBSERVED_VALID (0x04)
382
376/*SCSI IO Reply SCSIStatus values (SAM-4 status codes) */ 383/*SCSI IO Reply SCSIStatus values (SAM-4 status codes) */
377 384
378#define MPI2_SCSI_STATUS_GOOD (0x00) 385#define MPI2_SCSI_STATUS_GOOD (0x00)
@@ -446,11 +453,13 @@ typedef struct _MPI2_SCSI_TASK_MANAGE_REQUEST {
446/*MsgFlags bits */ 453/*MsgFlags bits */
447 454
448#define MPI2_SCSITASKMGMT_MSGFLAGS_MASK_TARGET_RESET (0x18) 455#define MPI2_SCSITASKMGMT_MSGFLAGS_MASK_TARGET_RESET (0x18)
456#define MPI26_SCSITASKMGMT_MSGFLAGS_HOT_RESET_PCIE (0x00)
449#define MPI2_SCSITASKMGMT_MSGFLAGS_LINK_RESET (0x00) 457#define MPI2_SCSITASKMGMT_MSGFLAGS_LINK_RESET (0x00)
450#define MPI2_SCSITASKMGMT_MSGFLAGS_NEXUS_RESET_SRST (0x08) 458#define MPI2_SCSITASKMGMT_MSGFLAGS_NEXUS_RESET_SRST (0x08)
451#define MPI2_SCSITASKMGMT_MSGFLAGS_SAS_HARD_LINK_RESET (0x10) 459#define MPI2_SCSITASKMGMT_MSGFLAGS_SAS_HARD_LINK_RESET (0x10)
452 460
453#define MPI2_SCSITASKMGMT_MSGFLAGS_DO_NOT_SEND_TASK_IU (0x01) 461#define MPI2_SCSITASKMGMT_MSGFLAGS_DO_NOT_SEND_TASK_IU (0x01)
462#define MPI26_SCSITASKMGMT_MSGFLAGS_PROTOCOL_LVL_RST_PCIE (0x18)
454 463
455/*SCSI Task Management Reply Message */ 464/*SCSI Task Management Reply Message */
456typedef struct _MPI2_SCSI_TASK_MANAGE_REPLY { 465typedef struct _MPI2_SCSI_TASK_MANAGE_REPLY {