xref: /titanic_41/usr/src/uts/common/sys/scsi/adapters/mpt_sas/mpi/mpi2_raid.h (revision 6824ee06c346d29bf3a2627dcbb6d0d2f4c7b9d7)
1 /*-
2  * Copyright (c) 2013 LSI Corp.
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  * 1. Redistributions of source code must retain the above copyright
9  *    notice, this list of conditions and the following disclaimer.
10  * 2. Redistributions in binary form must reproduce the above copyright
11  *    notice, this list of conditions and the following disclaimer in the
12  *    documentation and/or other materials provided with the distribution.
13  * 3. Neither the name of the author nor the names of any co-contributors
14  *    may be used to endorse or promote products derived from this software
15  *    without specific prior written permission.
16  *
17  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27  * SUCH DAMAGE.
28  */
29 
30 /*
31  *  Copyright (c) 2000-2013 LSI Corporation.
32  *
33  *
34  *           Name:  mpi2_raid.h
35  *          Title:  MPI Integrated RAID messages and structures
36  *  Creation Date:  April 26, 2007
37  *
38  *    mpi2_raid.h Version:  02.00.10
39  *
40  *  Version History
41  *  ---------------
42  *
43  *  Date      Version   Description
44  *  --------  --------  ------------------------------------------------------
45  *  04-30-07  02.00.00  Corresponds to Fusion-MPT MPI Specification Rev A.
46  *  08-31-07  02.00.01  Modifications to RAID Action request and reply,
47  *                      including the Actions and ActionData.
48  *  02-29-08  02.00.02  Added MPI2_RAID_ACTION_ADATA_DISABL_FULL_REBUILD.
49  *  05-21-08  02.00.03  Added MPI2_RAID_VOL_CREATION_NUM_PHYSDISKS so that
50  *                      the PhysDisk array in MPI2_RAID_VOLUME_CREATION_STRUCT
51  *                      can be sized by the build environment.
52  *  07-30-09  02.00.04  Added proper define for the Use Default Settings bit of
53  *                      VolumeCreationFlags and marked the old one as obsolete.
54  *  05-12-10  02.00.05  Added MPI2_RAID_VOL_FLAGS_OP_MDC define.
55  *  08-24-10  02.00.06  Added MPI2_RAID_ACTION_COMPATIBILITY_CHECK along with
56  *                      related structures and defines.
57  *                      Added product-specific range to RAID Action values.
58  *  11-18-11  02.00.07  Incorporating additions for MPI v2.5.
59  *  02-06-12  02.00.08  Added MPI2_RAID_ACTION_PHYSDISK_HIDDEN.
60  *  07-26-12  02.00.09  Added ElapsedSeconds field to MPI2_RAID_VOL_INDICATOR.
61  *                      Added MPI2_RAID_VOL_FLAGS_ELAPSED_SECONDS_VALID define.
62  *  04-17-13  02.00.10  Added MPI25_RAID_ACTION_ADATA_ALLOW_PI.
63  *  --------------------------------------------------------------------------
64  */
65 
66 #ifndef MPI2_RAID_H
67 #define MPI2_RAID_H
68 
69 /*****************************************************************************
70 *
71 *               Integrated RAID Messages
72 *
73 *****************************************************************************/
74 
75 /****************************************************************************
76 *  RAID Action messages
77 ****************************************************************************/
78 
79 /* ActionDataWord defines for use with MPI2_RAID_ACTION_CREATE_VOLUME action */
80 #define MPI25_RAID_ACTION_ADATA_ALLOW_PI            (0x80000000)
81 
82 /* ActionDataWord defines for use with MPI2_RAID_ACTION_DELETE_VOLUME action */
83 #define MPI2_RAID_ACTION_ADATA_KEEP_LBA0            (0x00000000)
84 #define MPI2_RAID_ACTION_ADATA_ZERO_LBA0            (0x00000001)
85 
86 /* use MPI2_RAIDVOL0_SETTING_ defines from mpi2_cnfg.h for MPI2_RAID_ACTION_CHANGE_VOL_WRITE_CACHE action */
87 
88 /* ActionDataWord defines for use with MPI2_RAID_ACTION_DISABLE_ALL_VOLUMES action */
89 #define MPI2_RAID_ACTION_ADATA_DISABL_FULL_REBUILD  (0x00000001)
90 
91 /* ActionDataWord for MPI2_RAID_ACTION_SET_RAID_FUNCTION_RATE Action */
92 typedef struct _MPI2_RAID_ACTION_RATE_DATA
93 {
94     U8              RateToChange;               /* 0x00 */
95     U8              RateOrMode;                 /* 0x01 */
96     U16             DataScrubDuration;          /* 0x02 */
97 } MPI2_RAID_ACTION_RATE_DATA, MPI2_POINTER PTR_MPI2_RAID_ACTION_RATE_DATA,
98   Mpi2RaidActionRateData_t, MPI2_POINTER pMpi2RaidActionRateData_t;
99 
100 #define MPI2_RAID_ACTION_SET_RATE_RESYNC            (0x00)
101 #define MPI2_RAID_ACTION_SET_RATE_DATA_SCRUB        (0x01)
102 #define MPI2_RAID_ACTION_SET_RATE_POWERSAVE_MODE    (0x02)
103 
104 /* ActionDataWord for MPI2_RAID_ACTION_START_RAID_FUNCTION Action */
105 typedef struct _MPI2_RAID_ACTION_START_RAID_FUNCTION
106 {
107     U8              RAIDFunction;                       /* 0x00 */
108     U8              Flags;                              /* 0x01 */
109     U16             Reserved1;                          /* 0x02 */
110 } MPI2_RAID_ACTION_START_RAID_FUNCTION,
111   MPI2_POINTER PTR_MPI2_RAID_ACTION_START_RAID_FUNCTION,
112   Mpi2RaidActionStartRaidFunction_t,
113   MPI2_POINTER pMpi2RaidActionStartRaidFunction_t;
114 
115 /* defines for the RAIDFunction field */
116 #define MPI2_RAID_ACTION_START_BACKGROUND_INIT      (0x00)
117 #define MPI2_RAID_ACTION_START_ONLINE_CAP_EXPANSION (0x01)
118 #define MPI2_RAID_ACTION_START_CONSISTENCY_CHECK    (0x02)
119 
120 /* defines for the Flags field */
121 #define MPI2_RAID_ACTION_START_NEW                  (0x00)
122 #define MPI2_RAID_ACTION_START_RESUME               (0x01)
123 
124 /* ActionDataWord for MPI2_RAID_ACTION_STOP_RAID_FUNCTION Action */
125 typedef struct _MPI2_RAID_ACTION_STOP_RAID_FUNCTION
126 {
127     U8              RAIDFunction;                       /* 0x00 */
128     U8              Flags;                              /* 0x01 */
129     U16             Reserved1;                          /* 0x02 */
130 } MPI2_RAID_ACTION_STOP_RAID_FUNCTION,
131   MPI2_POINTER PTR_MPI2_RAID_ACTION_STOP_RAID_FUNCTION,
132   Mpi2RaidActionStopRaidFunction_t,
133   MPI2_POINTER pMpi2RaidActionStopRaidFunction_t;
134 
135 /* defines for the RAIDFunction field */
136 #define MPI2_RAID_ACTION_STOP_BACKGROUND_INIT       (0x00)
137 #define MPI2_RAID_ACTION_STOP_ONLINE_CAP_EXPANSION  (0x01)
138 #define MPI2_RAID_ACTION_STOP_CONSISTENCY_CHECK     (0x02)
139 
140 /* defines for the Flags field */
141 #define MPI2_RAID_ACTION_STOP_ABORT                 (0x00)
142 #define MPI2_RAID_ACTION_STOP_PAUSE                 (0x01)
143 
144 /* ActionDataWord for MPI2_RAID_ACTION_CREATE_HOT_SPARE Action */
145 typedef struct _MPI2_RAID_ACTION_HOT_SPARE
146 {
147     U8              HotSparePool;               /* 0x00 */
148     U8              Reserved1;                  /* 0x01 */
149     U16             DevHandle;                  /* 0x02 */
150 } MPI2_RAID_ACTION_HOT_SPARE, MPI2_POINTER PTR_MPI2_RAID_ACTION_HOT_SPARE,
151   Mpi2RaidActionHotSpare_t, MPI2_POINTER pMpi2RaidActionHotSpare_t;
152 
153 /* ActionDataWord for MPI2_RAID_ACTION_DEVICE_FW_UPDATE_MODE Action */
154 typedef struct _MPI2_RAID_ACTION_FW_UPDATE_MODE
155 {
156     U8              Flags;                              /* 0x00 */
157     U8              DeviceFirmwareUpdateModeTimeout;    /* 0x01 */
158     U16             Reserved1;                          /* 0x02 */
159 } MPI2_RAID_ACTION_FW_UPDATE_MODE,
160   MPI2_POINTER PTR_MPI2_RAID_ACTION_FW_UPDATE_MODE,
161   Mpi2RaidActionFwUpdateMode_t, MPI2_POINTER pMpi2RaidActionFwUpdateMode_t;
162 
163 /* ActionDataWord defines for use with MPI2_RAID_ACTION_DEVICE_FW_UPDATE_MODE action */
164 #define MPI2_RAID_ACTION_ADATA_DISABLE_FW_UPDATE        (0x00)
165 #define MPI2_RAID_ACTION_ADATA_ENABLE_FW_UPDATE         (0x01)
166 
167 typedef union _MPI2_RAID_ACTION_DATA
168 {
169     U32                                     Word;
170     MPI2_RAID_ACTION_RATE_DATA              Rates;
171     MPI2_RAID_ACTION_START_RAID_FUNCTION    StartRaidFunction;
172     MPI2_RAID_ACTION_STOP_RAID_FUNCTION     StopRaidFunction;
173     MPI2_RAID_ACTION_HOT_SPARE              HotSpare;
174     MPI2_RAID_ACTION_FW_UPDATE_MODE         FwUpdateMode;
175 } MPI2_RAID_ACTION_DATA, MPI2_POINTER PTR_MPI2_RAID_ACTION_DATA,
176   Mpi2RaidActionData_t, MPI2_POINTER pMpi2RaidActionData_t;
177 
178 
179 /* RAID Action Request Message */
180 typedef struct _MPI2_RAID_ACTION_REQUEST
181 {
182     U8                      Action;                         /* 0x00 */
183     U8                      Reserved1;                      /* 0x01 */
184     U8                      ChainOffset;                    /* 0x02 */
185     U8                      Function;                       /* 0x03 */
186     U16                     VolDevHandle;                   /* 0x04 */
187     U8                      PhysDiskNum;                    /* 0x06 */
188     U8                      MsgFlags;                       /* 0x07 */
189     U8                      VP_ID;                          /* 0x08 */
190     U8                      VF_ID;                          /* 0x09 */
191     U16                     Reserved2;                      /* 0x0A */
192     U32                     Reserved3;                      /* 0x0C */
193     MPI2_RAID_ACTION_DATA   ActionDataWord;                 /* 0x10 */
194     MPI2_SGE_SIMPLE_UNION   ActionDataSGE;                  /* 0x14 */
195 } MPI2_RAID_ACTION_REQUEST, MPI2_POINTER PTR_MPI2_RAID_ACTION_REQUEST,
196   Mpi2RaidActionRequest_t, MPI2_POINTER pMpi2RaidActionRequest_t;
197 
198 /* RAID Action request Action values */
199 
200 #define MPI2_RAID_ACTION_INDICATOR_STRUCT           (0x01)
201 #define MPI2_RAID_ACTION_CREATE_VOLUME              (0x02)
202 #define MPI2_RAID_ACTION_DELETE_VOLUME              (0x03)
203 #define MPI2_RAID_ACTION_DISABLE_ALL_VOLUMES        (0x04)
204 #define MPI2_RAID_ACTION_ENABLE_ALL_VOLUMES         (0x05)
205 #define MPI2_RAID_ACTION_PHYSDISK_OFFLINE           (0x0A)
206 #define MPI2_RAID_ACTION_PHYSDISK_ONLINE            (0x0B)
207 #define MPI2_RAID_ACTION_FAIL_PHYSDISK              (0x0F)
208 #define MPI2_RAID_ACTION_ACTIVATE_VOLUME            (0x11)
209 #define MPI2_RAID_ACTION_DEVICE_FW_UPDATE_MODE      (0x15)
210 #define MPI2_RAID_ACTION_CHANGE_VOL_WRITE_CACHE     (0x17)
211 #define MPI2_RAID_ACTION_SET_VOLUME_NAME            (0x18)
212 #define MPI2_RAID_ACTION_SET_RAID_FUNCTION_RATE     (0x19)
213 #define MPI2_RAID_ACTION_ENABLE_FAILED_VOLUME       (0x1C)
214 #define MPI2_RAID_ACTION_CREATE_HOT_SPARE           (0x1D)
215 #define MPI2_RAID_ACTION_DELETE_HOT_SPARE           (0x1E)
216 #define MPI2_RAID_ACTION_SYSTEM_SHUTDOWN_INITIATED  (0x20)
217 #define MPI2_RAID_ACTION_START_RAID_FUNCTION        (0x21)
218 #define MPI2_RAID_ACTION_STOP_RAID_FUNCTION         (0x22)
219 #define MPI2_RAID_ACTION_COMPATIBILITY_CHECK        (0x23)
220 #define MPI2_RAID_ACTION_PHYSDISK_HIDDEN            (0x24)
221 #define MPI2_RAID_ACTION_MIN_PRODUCT_SPECIFIC       (0x80)
222 #define MPI2_RAID_ACTION_MAX_PRODUCT_SPECIFIC       (0xFF)
223 
224 
225 /* RAID Volume Creation Structure */
226 
227 /*
228  * The following define can be customized for the targeted product.
229  */
230 #ifndef MPI2_RAID_VOL_CREATION_NUM_PHYSDISKS
231 #define MPI2_RAID_VOL_CREATION_NUM_PHYSDISKS        (1)
232 #endif
233 
234 typedef struct _MPI2_RAID_VOLUME_PHYSDISK
235 {
236     U8                      RAIDSetNum;                     /* 0x00 */
237     U8                      PhysDiskMap;                    /* 0x01 */
238     U16                     PhysDiskDevHandle;              /* 0x02 */
239 } MPI2_RAID_VOLUME_PHYSDISK, MPI2_POINTER PTR_MPI2_RAID_VOLUME_PHYSDISK,
240   Mpi2RaidVolumePhysDisk_t, MPI2_POINTER pMpi2RaidVolumePhysDisk_t;
241 
242 /* defines for the PhysDiskMap field */
243 #define MPI2_RAIDACTION_PHYSDISK_PRIMARY            (0x01)
244 #define MPI2_RAIDACTION_PHYSDISK_SECONDARY          (0x02)
245 
246 typedef struct _MPI2_RAID_VOLUME_CREATION_STRUCT
247 {
248     U8                          NumPhysDisks;               /* 0x00 */
249     U8                          VolumeType;                 /* 0x01 */
250     U16                         Reserved1;                  /* 0x02 */
251     U32                         VolumeCreationFlags;        /* 0x04 */
252     U32                         VolumeSettings;             /* 0x08 */
253     U8                          Reserved2;                  /* 0x0C */
254     U8                          ResyncRate;                 /* 0x0D */
255     U16                         DataScrubDuration;          /* 0x0E */
256     U64                         VolumeMaxLBA;               /* 0x10 */
257     U32                         StripeSize;                 /* 0x18 */
258     U8                          Name[16];                   /* 0x1C */
259     MPI2_RAID_VOLUME_PHYSDISK   PhysDisk[MPI2_RAID_VOL_CREATION_NUM_PHYSDISKS];/* 0x2C */
260 } MPI2_RAID_VOLUME_CREATION_STRUCT,
261   MPI2_POINTER PTR_MPI2_RAID_VOLUME_CREATION_STRUCT,
262   Mpi2RaidVolumeCreationStruct_t, MPI2_POINTER pMpi2RaidVolumeCreationStruct_t;
263 
264 /* use MPI2_RAID_VOL_TYPE_ defines from mpi2_cnfg.h for VolumeType */
265 
266 /* defines for the VolumeCreationFlags field */
267 #define MPI2_RAID_VOL_CREATION_DEFAULT_SETTINGS     (0x80000000)
268 #define MPI2_RAID_VOL_CREATION_BACKGROUND_INIT      (0x00000004) /* MPI 2.0 only */
269 #define MPI2_RAID_VOL_CREATION_LOW_LEVEL_INIT       (0x00000002)
270 #define MPI2_RAID_VOL_CREATION_MIGRATE_DATA         (0x00000001)
271 /* The following is an obsolete define.
272  * It must be shifted left 24 bits in order to set the proper bit.
273  */
274 #define MPI2_RAID_VOL_CREATION_USE_DEFAULT_SETTINGS (0x80)
275 
276 
277 /* RAID Online Capacity Expansion Structure */
278 
279 typedef struct _MPI2_RAID_ONLINE_CAPACITY_EXPANSION
280 {
281     U32                     Flags;                          /* 0x00 */
282     U16                     DevHandle0;                     /* 0x04 */
283     U16                     Reserved1;                      /* 0x06 */
284     U16                     DevHandle1;                     /* 0x08 */
285     U16                     Reserved2;                      /* 0x0A */
286 } MPI2_RAID_ONLINE_CAPACITY_EXPANSION,
287   MPI2_POINTER PTR_MPI2_RAID_ONLINE_CAPACITY_EXPANSION,
288   Mpi2RaidOnlineCapacityExpansion_t,
289   MPI2_POINTER pMpi2RaidOnlineCapacityExpansion_t;
290 
291 
292 /* RAID Compatibility Input Structure */
293 
294 typedef struct _MPI2_RAID_COMPATIBILITY_INPUT_STRUCT
295 {
296     U16                     SourceDevHandle;                /* 0x00 */
297     U16                     CandidateDevHandle;             /* 0x02 */
298     U32                     Flags;                          /* 0x04 */
299     U32                     Reserved1;                      /* 0x08 */
300     U32                     Reserved2;                      /* 0x0C */
301 } MPI2_RAID_COMPATIBILITY_INPUT_STRUCT,
302   MPI2_POINTER PTR_MPI2_RAID_COMPATIBILITY_INPUT_STRUCT,
303   Mpi2RaidCompatibilityInputStruct_t,
304   MPI2_POINTER pMpi2RaidCompatibilityInputStruct_t;
305 
306 /* defines for RAID Compatibility Structure Flags field */
307 #define MPI2_RAID_COMPAT_SOURCE_IS_VOLUME_FLAG      (0x00000002)
308 #define MPI2_RAID_COMPAT_REPORT_SOURCE_INFO_FLAG    (0x00000001)
309 
310 
311 /* RAID Volume Indicator Structure */
312 
313 typedef struct _MPI2_RAID_VOL_INDICATOR
314 {
315     U64                     TotalBlocks;                    /* 0x00 */
316     U64                     BlocksRemaining;                /* 0x08 */
317     U32                     Flags;                          /* 0x10 */
318     U32                     ElapsedSeconds;                 /* 0x14 */
319 } MPI2_RAID_VOL_INDICATOR, MPI2_POINTER PTR_MPI2_RAID_VOL_INDICATOR,
320   Mpi2RaidVolIndicator_t, MPI2_POINTER pMpi2RaidVolIndicator_t;
321 
322 /* defines for RAID Volume Indicator Flags field */
323 #define MPI2_RAID_VOL_FLAGS_ELAPSED_SECONDS_VALID   (0x80000000)
324 
325 #define MPI2_RAID_VOL_FLAGS_OP_MASK                 (0x0000000F)
326 #define MPI2_RAID_VOL_FLAGS_OP_BACKGROUND_INIT      (0x00000000)
327 #define MPI2_RAID_VOL_FLAGS_OP_ONLINE_CAP_EXPANSION (0x00000001)
328 #define MPI2_RAID_VOL_FLAGS_OP_CONSISTENCY_CHECK    (0x00000002)
329 #define MPI2_RAID_VOL_FLAGS_OP_RESYNC               (0x00000003)
330 #define MPI2_RAID_VOL_FLAGS_OP_MDC                  (0x00000004)
331 
332 
333 /* RAID Compatibility Result Structure */
334 
335 typedef struct _MPI2_RAID_COMPATIBILITY_RESULT_STRUCT
336 {
337     U8                      State;                          /* 0x00 */
338     U8                      Reserved1;                      /* 0x01 */
339     U16                     Reserved2;                      /* 0x02 */
340     U32                     GenericAttributes;              /* 0x04 */
341     U32                     OEMSpecificAttributes;          /* 0x08 */
342     U32                     Reserved3;                      /* 0x0C */
343     U32                     Reserved4;                      /* 0x10 */
344 } MPI2_RAID_COMPATIBILITY_RESULT_STRUCT,
345   MPI2_POINTER PTR_MPI2_RAID_COMPATIBILITY_RESULT_STRUCT,
346   Mpi2RaidCompatibilityResultStruct_t,
347   MPI2_POINTER pMpi2RaidCompatibilityResultStruct_t;
348 
349 /* defines for RAID Compatibility Result Structure State field */
350 #define MPI2_RAID_COMPAT_STATE_COMPATIBLE           (0x00)
351 #define MPI2_RAID_COMPAT_STATE_NOT_COMPATIBLE       (0x01)
352 
353 /* defines for RAID Compatibility Result Structure GenericAttributes field */
354 #define MPI2_RAID_COMPAT_GENATTRIB_4K_SECTOR            (0x00000010)
355 
356 #define MPI2_RAID_COMPAT_GENATTRIB_MEDIA_MASK           (0x0000000C)
357 #define MPI2_RAID_COMPAT_GENATTRIB_SOLID_STATE_DRIVE    (0x00000008)
358 #define MPI2_RAID_COMPAT_GENATTRIB_HARD_DISK_DRIVE      (0x00000004)
359 
360 #define MPI2_RAID_COMPAT_GENATTRIB_PROTOCOL_MASK        (0x00000003)
361 #define MPI2_RAID_COMPAT_GENATTRIB_SAS_PROTOCOL         (0x00000002)
362 #define MPI2_RAID_COMPAT_GENATTRIB_SATA_PROTOCOL        (0x00000001)
363 
364 
365 /* RAID Action Reply ActionData union */
366 typedef union _MPI2_RAID_ACTION_REPLY_DATA
367 {
368     U32                                     Word[6];
369     MPI2_RAID_VOL_INDICATOR                 RaidVolumeIndicator;
370     U16                                     VolDevHandle;
371     U8                                      VolumeState;
372     U8                                      PhysDiskNum;
373     MPI2_RAID_COMPATIBILITY_RESULT_STRUCT   RaidCompatibilityResult;
374 } MPI2_RAID_ACTION_REPLY_DATA, MPI2_POINTER PTR_MPI2_RAID_ACTION_REPLY_DATA,
375   Mpi2RaidActionReplyData_t, MPI2_POINTER pMpi2RaidActionReplyData_t;
376 
377 /* use MPI2_RAIDVOL0_SETTING_ defines from mpi2_cnfg.h for MPI2_RAID_ACTION_CHANGE_VOL_WRITE_CACHE action */
378 
379 
380 /* RAID Action Reply Message */
381 typedef struct _MPI2_RAID_ACTION_REPLY
382 {
383     U8                          Action;                     /* 0x00 */
384     U8                          Reserved1;                  /* 0x01 */
385     U8                          MsgLength;                  /* 0x02 */
386     U8                          Function;                   /* 0x03 */
387     U16                         VolDevHandle;               /* 0x04 */
388     U8                          PhysDiskNum;                /* 0x06 */
389     U8                          MsgFlags;                   /* 0x07 */
390     U8                          VP_ID;                      /* 0x08 */
391     U8                          VF_ID;                      /* 0x09 */
392     U16                         Reserved2;                  /* 0x0A */
393     U16                         Reserved3;                  /* 0x0C */
394     U16                         IOCStatus;                  /* 0x0E */
395     U32                         IOCLogInfo;                 /* 0x10 */
396     MPI2_RAID_ACTION_REPLY_DATA ActionData;                 /* 0x14 */
397 } MPI2_RAID_ACTION_REPLY, MPI2_POINTER PTR_MPI2_RAID_ACTION_REPLY,
398   Mpi2RaidActionReply_t, MPI2_POINTER pMpi2RaidActionReply_t;
399 
400 
401 #endif
402 
403