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