aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
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;