aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorSreekanth Reddy <Sreekanth.Reddy@lsi.com>2013-02-01 11:24:13 -0500
committerJames Bottomley <JBottomley@Parallels.com>2013-06-24 15:40:02 -0400
commit10ec24e4ce0356f61a12d79f84996cea3686b926 (patch)
tree10ead13c6551f69655d2e809650bd5ecd60e1717 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentb0df96a0068daee4f9c2189c29b9053eb6e46b17 (diff)
[SCSI] mpt2sas: MPI2 Rev W (2.00.15) specification
Change set in MPI 2.0 Rev W(2.00.15) specification and 2.00.27 header files 1. Added a bit to the IOCExceptions field of the IOCFacts Reply to indicate that the IOC detected a partial memory failure. 2. Added ElapsedSeconds field to RAID Volume Indicator Structure. Added Elapsed Seconds Valid flag to Flags field of this structure. 3. Added ElapsedSeconds field to Integrated RAID Operations Status Event Data. 4. In the IOCSettings field of BIOS Page 1, modified the Adapter Support bits description to specify X86 BIOS. 5. Toolbox Diagnostic CLI Tool Request may now use chain elements in the SGL. Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
-rw-r--r--drivers/scsi/mpt2sas/mpi/mpi2_raid.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2_raid.h b/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
index 2b38af213beb..255b0ca219a4 100644
--- a/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
+++ b/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
@@ -6,7 +6,7 @@
6 * Title: MPI Integrated RAID messages and structures 6 * Title: MPI Integrated RAID messages and structures
7 * Creation Date: April 26, 2007 7 * Creation Date: April 26, 2007
8 * 8 *
9 * mpi2_raid.h Version: 02.00.08 9 * mpi2_raid.h Version: 02.00.09
10 * 10 *
11 * Version History 11 * Version History
12 * --------------- 12 * ---------------
@@ -27,6 +27,8 @@
27 * related structures and defines. 27 * related structures and defines.
28 * Added product-specific range to RAID Action values. 28 * Added product-specific range to RAID Action values.
29 * 02-06-12 02.00.08 Added MPI2_RAID_ACTION_PHYSDISK_HIDDEN. 29 * 02-06-12 02.00.08 Added MPI2_RAID_ACTION_PHYSDISK_HIDDEN.
30 * 07-26-12 02.00.09 Added ElapsedSeconds field to MPI2_RAID_VOL_INDICATOR.
31 * Added MPI2_RAID_VOL_FLAGS_ELAPSED_SECONDS_VALID define.
30 * -------------------------------------------------------------------------- 32 * --------------------------------------------------------------------------
31 */ 33 */
32 34
@@ -276,10 +278,13 @@ typedef struct _MPI2_RAID_VOL_INDICATOR
276 U64 TotalBlocks; /* 0x00 */ 278 U64 TotalBlocks; /* 0x00 */
277 U64 BlocksRemaining; /* 0x08 */ 279 U64 BlocksRemaining; /* 0x08 */
278 U32 Flags; /* 0x10 */ 280 U32 Flags; /* 0x10 */
281 U32 ElapsedSeconds; /* 0x14 */
279} MPI2_RAID_VOL_INDICATOR, MPI2_POINTER PTR_MPI2_RAID_VOL_INDICATOR, 282} MPI2_RAID_VOL_INDICATOR, MPI2_POINTER PTR_MPI2_RAID_VOL_INDICATOR,
280 Mpi2RaidVolIndicator_t, MPI2_POINTER pMpi2RaidVolIndicator_t; 283 Mpi2RaidVolIndicator_t, MPI2_POINTER pMpi2RaidVolIndicator_t;
281 284
282/* defines for RAID Volume Indicator Flags field */ 285/* defines for RAID Volume Indicator Flags field */
286#define MPI2_RAID_VOL_FLAGS_ELAPSED_SECONDS_VALID (0x80000000)
287
283#define MPI2_RAID_VOL_FLAGS_OP_MASK (0x0000000F) 288#define MPI2_RAID_VOL_FLAGS_OP_MASK (0x0000000F)
284#define MPI2_RAID_VOL_FLAGS_OP_BACKGROUND_INIT (0x00000000) 289#define MPI2_RAID_VOL_FLAGS_OP_BACKGROUND_INIT (0x00000000)
285#define MPI2_RAID_VOL_FLAGS_OP_ONLINE_CAP_EXPANSION (0x00000001) 290#define MPI2_RAID_VOL_FLAGS_OP_ONLINE_CAP_EXPANSION (0x00000001)
@@ -320,7 +325,7 @@ MPI2_POINTER pMpi2RaidCompatibilityResultStruct_t;
320/* RAID Action Reply ActionData union */ 325/* RAID Action Reply ActionData union */
321typedef union _MPI2_RAID_ACTION_REPLY_DATA 326typedef union _MPI2_RAID_ACTION_REPLY_DATA
322{ 327{
323 U32 Word[5]; 328 U32 Word[6];
324 MPI2_RAID_VOL_INDICATOR RaidVolumeIndicator; 329 MPI2_RAID_VOL_INDICATOR RaidVolumeIndicator;
325 U16 VolDevHandle; 330 U16 VolDevHandle;
326 U8 VolumeState; 331 U8 VolumeState;