diff options
author | nagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com> | 2011-11-30 21:13:37 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-12-15 01:57:32 -0500 |
commit | c1bc0704e52f200bc747c6bddb970a3686e230ab (patch) | |
tree | 74dff33cef4d108ddc2cd3f208436bcc439cca06 /drivers/scsi/mpt2sas/mpi/mpi2_tool.h | |
parent | 70e73f9945f80a5ad469d4d21b32209218aa51ac (diff) |
[SCSI] mpt2sas: MPI next revision header update
1) Added product specific range of ImageType macros for the Extended
Image Header.
2) Added Flags field and related defines to
MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST to support automatic
reserve/release and page addressing.
Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_tool.h')
-rw-r--r-- | drivers/scsi/mpt2sas/mpi/mpi2_tool.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2_tool.h b/drivers/scsi/mpt2sas/mpi/mpi2_tool.h index 2a4bceda364b..3cbe677c6886 100644 --- a/drivers/scsi/mpt2sas/mpi/mpi2_tool.h +++ b/drivers/scsi/mpt2sas/mpi/mpi2_tool.h | |||
@@ -6,7 +6,7 @@ | |||
6 | * Title: MPI diagnostic tool structures and definitions | 6 | * Title: MPI diagnostic tool structures and definitions |
7 | * Creation Date: March 26, 2007 | 7 | * Creation Date: March 26, 2007 |
8 | * | 8 | * |
9 | * mpi2_tool.h Version: 02.00.06 | 9 | * mpi2_tool.h Version: 02.00.07 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -25,6 +25,8 @@ | |||
25 | * 05-12-10 02.00.05 Added Diagnostic Data Upload tool. | 25 | * 05-12-10 02.00.05 Added Diagnostic Data Upload tool. |
26 | * 08-11-10 02.00.06 Added defines that were missing for Diagnostic Buffer | 26 | * 08-11-10 02.00.06 Added defines that were missing for Diagnostic Buffer |
27 | * Post Request. | 27 | * Post Request. |
28 | * 05-25-11 02.00.07 Added Flags field and related defines to | ||
29 | * MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST. | ||
28 | * -------------------------------------------------------------------------- | 30 | * -------------------------------------------------------------------------- |
29 | */ | 31 | */ |
30 | 32 | ||
@@ -181,7 +183,7 @@ typedef struct _MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST { | |||
181 | U8 DevIndex; /* 0x14 */ | 183 | U8 DevIndex; /* 0x14 */ |
182 | U8 Action; /* 0x15 */ | 184 | U8 Action; /* 0x15 */ |
183 | U8 SGLFlags; /* 0x16 */ | 185 | U8 SGLFlags; /* 0x16 */ |
184 | U8 Reserved7; /* 0x17 */ | 186 | U8 Flags; /* 0x17 */ |
185 | U16 TxDataLength; /* 0x18 */ | 187 | U16 TxDataLength; /* 0x18 */ |
186 | U16 RxDataLength; /* 0x1A */ | 188 | U16 RxDataLength; /* 0x1A */ |
187 | U32 Reserved8; /* 0x1C */ | 189 | U32 Reserved8; /* 0x1C */ |
@@ -205,6 +207,9 @@ typedef struct _MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST { | |||
205 | 207 | ||
206 | /* use MPI2_SGLFLAGS_ defines from mpi2.h for the SGLFlags field */ | 208 | /* use MPI2_SGLFLAGS_ defines from mpi2.h for the SGLFlags field */ |
207 | 209 | ||
210 | /* values for the Flags field */ | ||
211 | #define MPI2_TOOL_ISTWI_FLAG_AUTO_RESERVE_RELEASE (0x80) | ||
212 | #define MPI2_TOOL_ISTWI_FLAG_PAGE_ADDR_MASK (0x07) | ||
208 | 213 | ||
209 | /* Toolbox ISTWI Read Write Tool reply message */ | 214 | /* Toolbox ISTWI Read Write Tool reply message */ |
210 | typedef struct _MPI2_TOOLBOX_ISTWI_REPLY { | 215 | typedef struct _MPI2_TOOLBOX_ISTWI_REPLY { |