Print this page
Initial modifications using the code changes present between
the LSI source code for FreeBSD drivers. Specifically the changes
between from mpslsi-source-17.00.00.00 -> mpslsi-source-03.00.00.00.
This mainly involves using a different scatter/gather element in
frame setup.
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/common/sys/scsi/adapters/mpt_sas3/mpi/mpi2_tool.h
+++ new/usr/src/uts/common/sys/scsi/adapters/mpt_sas3/mpi/mpi2_tool.h
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License (the "License").
6 6 * You may not use this file except in compliance with the License.
7 7 *
8 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 * or http://www.opensolaris.org/os/licensing.
10 10 * See the License for the specific language governing permissions
11 11 * and limitations under the License.
12 12 *
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
13 13 * When distributing Covered Code, include this CDDL HEADER in each
14 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 * If applicable, add the following below this CDDL HEADER, with the
16 16 * fields enclosed by brackets "[]" replaced with your own identifying
17 17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 18 *
19 19 * CDDL HEADER END
20 20 */
21 21
22 22 /*
23 - * Copyright (c) 2000 to 2009, LSI Corporation.
24 - * All rights reserved.
23 + * Copyright (c) 2000-2012 LSI Corporation.
25 24 *
26 25 * Redistribution and use in source and binary forms of all code within
27 26 * this file that is exclusively owned by LSI, with or without
28 27 * modification, is permitted provided that, in addition to the CDDL 1.0
29 28 * License requirements, the following conditions are met:
30 29 *
31 30 * Neither the name of the author nor the names of its contributors may be
32 31 * used to endorse or promote products derived from this software without
33 32 * specific prior written permission.
34 33 *
35 34 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
36 35 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
37 36 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
38 37 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
39 38 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
40 39 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
41 40 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
42 41 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
43 42 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
↓ open down ↓ |
9 lines elided |
↑ open up ↑ |
44 43 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
45 44 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
46 45 * DAMAGE.
47 46 */
48 47
49 48 /*
50 49 * Name: mpi2_tool.h
51 50 * Title: MPI diagnostic tool structures and definitions
52 51 * Creation Date: March 26, 2007
53 52 *
54 - * mpi2_tool.h Version: 02.00.04
53 + * mpi2_tool.h Version: 02.00.06
55 54 *
56 55 * Version History
57 56 * ---------------
58 57 *
59 58 * Date Version Description
60 59 * -------- -------- ------------------------------------------------------
61 60 * 04-30-07 02.00.00 Corresponds to Fusion-MPT MPI Specification Rev A.
62 61 * 12-18-07 02.00.01 Added Diagnostic Buffer Post and Diagnostic Release
63 62 * structures and defines.
64 63 * 02-29-08 02.00.02 Modified various names to make them 32-character unique.
65 64 * 05-06-09 02.00.03 Added ISTWI Read Write Tool and Diagnostic CLI Tool.
66 65 * 07-30-09 02.00.04 Added ExtendedType field to DiagnosticBufferPost request
67 66 * and reply messages.
68 67 * Added MPI2_DIAG_BUF_TYPE_EXTENDED.
69 68 * Incremented MPI2_DIAG_BUF_TYPE_COUNT.
69 + * 05-12-10 02.00.05 Added Diagnostic Data Upload tool.
70 + * 08-11-10 02.00.06 Added defines that were missing for Diagnostic Buffer
71 + * Post Request.
70 72 * --------------------------------------------------------------------------
71 73 */
72 74
73 75 #ifndef MPI2_TOOL_H
74 76 #define MPI2_TOOL_H
75 77
76 78 /*****************************************************************************
77 79 *
78 80 * Toolbox Messages
79 81 *
80 82 *****************************************************************************/
81 83
82 84 /* defines for the Tools */
83 85 #define MPI2_TOOLBOX_CLEAN_TOOL (0x00)
84 86 #define MPI2_TOOLBOX_MEMORY_MOVE_TOOL (0x01)
87 +#define MPI2_TOOLBOX_DIAG_DATA_UPLOAD_TOOL (0x02)
85 88 #define MPI2_TOOLBOX_ISTWI_READ_WRITE_TOOL (0x03)
86 89 #define MPI2_TOOLBOX_BEACON_TOOL (0x05)
87 90 #define MPI2_TOOLBOX_DIAGNOSTIC_CLI_TOOL (0x06)
88 91
89 92
90 93 /****************************************************************************
91 94 * Toolbox reply
92 95 ****************************************************************************/
93 96
94 97 typedef struct _MPI2_TOOLBOX_REPLY
95 98 {
96 99 U8 Tool; /* 0x00 */
97 100 U8 Reserved1; /* 0x01 */
98 101 U8 MsgLength; /* 0x02 */
99 102 U8 Function; /* 0x03 */
100 103 U16 Reserved2; /* 0x04 */
101 104 U8 Reserved3; /* 0x06 */
102 105 U8 MsgFlags; /* 0x07 */
103 106 U8 VP_ID; /* 0x08 */
104 107 U8 VF_ID; /* 0x09 */
105 108 U16 Reserved4; /* 0x0A */
106 109 U16 Reserved5; /* 0x0C */
107 110 U16 IOCStatus; /* 0x0E */
108 111 U32 IOCLogInfo; /* 0x10 */
109 112 } MPI2_TOOLBOX_REPLY, MPI2_POINTER PTR_MPI2_TOOLBOX_REPLY,
110 113 Mpi2ToolboxReply_t, MPI2_POINTER pMpi2ToolboxReply_t;
111 114
112 115
113 116 /****************************************************************************
114 117 * Toolbox Clean Tool request
115 118 ****************************************************************************/
116 119
117 120 typedef struct _MPI2_TOOLBOX_CLEAN_REQUEST
118 121 {
119 122 U8 Tool; /* 0x00 */
120 123 U8 Reserved1; /* 0x01 */
121 124 U8 ChainOffset; /* 0x02 */
122 125 U8 Function; /* 0x03 */
123 126 U16 Reserved2; /* 0x04 */
124 127 U8 Reserved3; /* 0x06 */
125 128 U8 MsgFlags; /* 0x07 */
126 129 U8 VP_ID; /* 0x08 */
127 130 U8 VF_ID; /* 0x09 */
128 131 U16 Reserved4; /* 0x0A */
129 132 U32 Flags; /* 0x0C */
130 133 } MPI2_TOOLBOX_CLEAN_REQUEST, MPI2_POINTER PTR_MPI2_TOOLBOX_CLEAN_REQUEST,
131 134 Mpi2ToolboxCleanRequest_t, MPI2_POINTER pMpi2ToolboxCleanRequest_t;
132 135
133 136 /* values for the Flags field */
134 137 #define MPI2_TOOLBOX_CLEAN_BOOT_SERVICES (0x80000000)
135 138 #define MPI2_TOOLBOX_CLEAN_PERSIST_MANUFACT_PAGES (0x40000000)
136 139 #define MPI2_TOOLBOX_CLEAN_OTHER_PERSIST_PAGES (0x20000000)
137 140 #define MPI2_TOOLBOX_CLEAN_FW_CURRENT (0x10000000)
138 141 #define MPI2_TOOLBOX_CLEAN_FW_BACKUP (0x08000000)
139 142 #define MPI2_TOOLBOX_CLEAN_MEGARAID (0x02000000)
140 143 #define MPI2_TOOLBOX_CLEAN_INITIALIZATION (0x01000000)
141 144 #define MPI2_TOOLBOX_CLEAN_FLASH (0x00000004)
142 145 #define MPI2_TOOLBOX_CLEAN_SEEPROM (0x00000002)
143 146 #define MPI2_TOOLBOX_CLEAN_NVSRAM (0x00000001)
144 147
145 148
146 149 /****************************************************************************
147 150 * Toolbox Memory Move request
148 151 ****************************************************************************/
149 152
150 153 typedef struct _MPI2_TOOLBOX_MEM_MOVE_REQUEST
151 154 {
152 155 U8 Tool; /* 0x00 */
153 156 U8 Reserved1; /* 0x01 */
154 157 U8 ChainOffset; /* 0x02 */
155 158 U8 Function; /* 0x03 */
156 159 U16 Reserved2; /* 0x04 */
157 160 U8 Reserved3; /* 0x06 */
↓ open down ↓ |
63 lines elided |
↑ open up ↑ |
158 161 U8 MsgFlags; /* 0x07 */
159 162 U8 VP_ID; /* 0x08 */
160 163 U8 VF_ID; /* 0x09 */
161 164 U16 Reserved4; /* 0x0A */
162 165 MPI2_SGE_SIMPLE_UNION SGL; /* 0x0C */
163 166 } MPI2_TOOLBOX_MEM_MOVE_REQUEST, MPI2_POINTER PTR_MPI2_TOOLBOX_MEM_MOVE_REQUEST,
164 167 Mpi2ToolboxMemMoveRequest_t, MPI2_POINTER pMpi2ToolboxMemMoveRequest_t;
165 168
166 169
167 170 /****************************************************************************
171 +* Toolbox Diagnostic Data Upload request
172 +****************************************************************************/
173 +
174 +typedef struct _MPI2_TOOLBOX_DIAG_DATA_UPLOAD_REQUEST
175 +{
176 + U8 Tool; /* 0x00 */
177 + U8 Reserved1; /* 0x01 */
178 + U8 ChainOffset; /* 0x02 */
179 + U8 Function; /* 0x03 */
180 + U16 Reserved2; /* 0x04 */
181 + U8 Reserved3; /* 0x06 */
182 + U8 MsgFlags; /* 0x07 */
183 + U8 VP_ID; /* 0x08 */
184 + U8 VF_ID; /* 0x09 */
185 + U16 Reserved4; /* 0x0A */
186 + U8 SGLFlags; /* 0x0C */
187 + U8 Reserved5; /* 0x0D */
188 + U16 Reserved6; /* 0x0E */
189 + U32 Flags; /* 0x10 */
190 + U32 DataLength; /* 0x14 */
191 + MPI2_SGE_SIMPLE_UNION SGL; /* 0x18 */
192 +} MPI2_TOOLBOX_DIAG_DATA_UPLOAD_REQUEST,
193 + MPI2_POINTER PTR_MPI2_TOOLBOX_DIAG_DATA_UPLOAD_REQUEST,
194 + Mpi2ToolboxDiagDataUploadRequest_t,
195 + MPI2_POINTER pMpi2ToolboxDiagDataUploadRequest_t;
196 +
197 +/* use MPI2_SGLFLAGS_ defines from mpi2.h for the SGLFlags field */
198 +
199 +
200 +typedef struct _MPI2_DIAG_DATA_UPLOAD_HEADER
201 +{
202 + U32 DiagDataLength; /* 00h */
203 + U8 FormatCode; /* 04h */
204 + U8 Reserved1; /* 05h */
205 + U16 Reserved2; /* 06h */
206 +} MPI2_DIAG_DATA_UPLOAD_HEADER, MPI2_POINTER PTR_MPI2_DIAG_DATA_UPLOAD_HEADER,
207 + Mpi2DiagDataUploadHeader_t, MPI2_POINTER pMpi2DiagDataUploadHeader_t;
208 +
209 +
210 +/****************************************************************************
168 211 * Toolbox ISTWI Read Write Tool
169 212 ****************************************************************************/
170 213
171 214 /* Toolbox ISTWI Read Write Tool request message */
172 215 typedef struct _MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST
173 216 {
174 217 U8 Tool; /* 0x00 */
175 218 U8 Reserved1; /* 0x01 */
176 219 U8 ChainOffset; /* 0x02 */
177 220 U8 Function; /* 0x03 */
178 221 U16 Reserved2; /* 0x04 */
179 222 U8 Reserved3; /* 0x06 */
180 223 U8 MsgFlags; /* 0x07 */
181 224 U8 VP_ID; /* 0x08 */
182 225 U8 VF_ID; /* 0x09 */
183 226 U16 Reserved4; /* 0x0A */
184 227 U32 Reserved5; /* 0x0C */
185 228 U32 Reserved6; /* 0x10 */
186 229 U8 DevIndex; /* 0x14 */
187 230 U8 Action; /* 0x15 */
188 231 U8 SGLFlags; /* 0x16 */
189 232 U8 Reserved7; /* 0x17 */
190 233 U16 TxDataLength; /* 0x18 */
191 234 U16 RxDataLength; /* 0x1A */
192 235 U32 Reserved8; /* 0x1C */
193 236 U32 Reserved9; /* 0x20 */
194 237 U32 Reserved10; /* 0x24 */
195 238 U32 Reserved11; /* 0x28 */
196 239 U32 Reserved12; /* 0x2C */
197 240 MPI2_SGE_SIMPLE_UNION SGL; /* 0x30 */
198 241 } MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST,
199 242 MPI2_POINTER PTR_MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST,
200 243 Mpi2ToolboxIstwiReadWriteRequest_t,
201 244 MPI2_POINTER pMpi2ToolboxIstwiReadWriteRequest_t;
202 245
203 246 /* values for the Action field */
204 247 #define MPI2_TOOL_ISTWI_ACTION_READ_DATA (0x01)
205 248 #define MPI2_TOOL_ISTWI_ACTION_WRITE_DATA (0x02)
206 249 #define MPI2_TOOL_ISTWI_ACTION_SEQUENCE (0x03)
207 250 #define MPI2_TOOL_ISTWI_ACTION_RESERVE_BUS (0x10)
208 251 #define MPI2_TOOL_ISTWI_ACTION_RELEASE_BUS (0x11)
209 252 #define MPI2_TOOL_ISTWI_ACTION_RESET (0x12)
210 253
211 254 /* values for SGLFlags field are in the SGL section of mpi2.h */
212 255
213 256
214 257 /* Toolbox ISTWI Read Write Tool reply message */
215 258 typedef struct _MPI2_TOOLBOX_ISTWI_REPLY
216 259 {
217 260 U8 Tool; /* 0x00 */
218 261 U8 Reserved1; /* 0x01 */
219 262 U8 MsgLength; /* 0x02 */
220 263 U8 Function; /* 0x03 */
221 264 U16 Reserved2; /* 0x04 */
222 265 U8 Reserved3; /* 0x06 */
223 266 U8 MsgFlags; /* 0x07 */
224 267 U8 VP_ID; /* 0x08 */
225 268 U8 VF_ID; /* 0x09 */
226 269 U16 Reserved4; /* 0x0A */
227 270 U16 Reserved5; /* 0x0C */
228 271 U16 IOCStatus; /* 0x0E */
229 272 U32 IOCLogInfo; /* 0x10 */
230 273 U8 DevIndex; /* 0x14 */
231 274 U8 Action; /* 0x15 */
232 275 U8 IstwiStatus; /* 0x16 */
233 276 U8 Reserved6; /* 0x17 */
234 277 U16 TxDataCount; /* 0x18 */
235 278 U16 RxDataCount; /* 0x1A */
236 279 } MPI2_TOOLBOX_ISTWI_REPLY, MPI2_POINTER PTR_MPI2_TOOLBOX_ISTWI_REPLY,
237 280 Mpi2ToolboxIstwiReply_t, MPI2_POINTER pMpi2ToolboxIstwiReply_t;
238 281
239 282
240 283 /****************************************************************************
241 284 * Toolbox Beacon Tool request
242 285 ****************************************************************************/
243 286
244 287 typedef struct _MPI2_TOOLBOX_BEACON_REQUEST
245 288 {
246 289 U8 Tool; /* 0x00 */
247 290 U8 Reserved1; /* 0x01 */
248 291 U8 ChainOffset; /* 0x02 */
249 292 U8 Function; /* 0x03 */
250 293 U16 Reserved2; /* 0x04 */
251 294 U8 Reserved3; /* 0x06 */
252 295 U8 MsgFlags; /* 0x07 */
253 296 U8 VP_ID; /* 0x08 */
254 297 U8 VF_ID; /* 0x09 */
255 298 U16 Reserved4; /* 0x0A */
256 299 U8 Reserved5; /* 0x0C */
257 300 U8 PhysicalPort; /* 0x0D */
258 301 U8 Reserved6; /* 0x0E */
259 302 U8 Flags; /* 0x0F */
260 303 } MPI2_TOOLBOX_BEACON_REQUEST, MPI2_POINTER PTR_MPI2_TOOLBOX_BEACON_REQUEST,
261 304 Mpi2ToolboxBeaconRequest_t, MPI2_POINTER pMpi2ToolboxBeaconRequest_t;
262 305
263 306 /* values for the Flags field */
264 307 #define MPI2_TOOLBOX_FLAGS_BEACONMODE_OFF (0x00)
265 308 #define MPI2_TOOLBOX_FLAGS_BEACONMODE_ON (0x01)
266 309
267 310
268 311 /****************************************************************************
269 312 * Toolbox Diagnostic CLI Tool
270 313 ****************************************************************************/
271 314
272 315 #define MPI2_TOOLBOX_DIAG_CLI_CMD_LENGTH (0x5C)
273 316
274 317 /* Toolbox Diagnostic CLI Tool request message */
275 318 typedef struct _MPI2_TOOLBOX_DIAGNOSTIC_CLI_REQUEST
276 319 {
277 320 U8 Tool; /* 0x00 */
278 321 U8 Reserved1; /* 0x01 */
279 322 U8 ChainOffset; /* 0x02 */
280 323 U8 Function; /* 0x03 */
281 324 U16 Reserved2; /* 0x04 */
282 325 U8 Reserved3; /* 0x06 */
283 326 U8 MsgFlags; /* 0x07 */
284 327 U8 VP_ID; /* 0x08 */
285 328 U8 VF_ID; /* 0x09 */
286 329 U16 Reserved4; /* 0x0A */
287 330 U8 SGLFlags; /* 0x0C */
↓ open down ↓ |
110 lines elided |
↑ open up ↑ |
288 331 U8 Reserved5; /* 0x0D */
289 332 U16 Reserved6; /* 0x0E */
290 333 U32 DataLength; /* 0x10 */
291 334 U8 DiagnosticCliCommand[MPI2_TOOLBOX_DIAG_CLI_CMD_LENGTH]; /* 0x14 */
292 335 MPI2_SGE_SIMPLE_UNION SGL; /* 0x70 */
293 336 } MPI2_TOOLBOX_DIAGNOSTIC_CLI_REQUEST,
294 337 MPI2_POINTER PTR_MPI2_TOOLBOX_DIAGNOSTIC_CLI_REQUEST,
295 338 Mpi2ToolboxDiagnosticCliRequest_t,
296 339 MPI2_POINTER pMpi2ToolboxDiagnosticCliRequest_t;
297 340
298 -/* values for SGLFlags field are in the SGL section of mpi2.h */
341 +/* use MPI2_SGLFLAGS_ defines from mpi2.h for the SGLFlags field */
299 342
300 343
301 344 /* Toolbox Diagnostic CLI Tool reply message */
302 345 typedef struct _MPI2_TOOLBOX_DIAGNOSTIC_CLI_REPLY
303 346 {
304 347 U8 Tool; /* 0x00 */
305 348 U8 Reserved1; /* 0x01 */
306 349 U8 MsgLength; /* 0x02 */
307 350 U8 Function; /* 0x03 */
308 351 U16 Reserved2; /* 0x04 */
309 352 U8 Reserved3; /* 0x06 */
310 353 U8 MsgFlags; /* 0x07 */
311 354 U8 VP_ID; /* 0x08 */
312 355 U8 VF_ID; /* 0x09 */
313 356 U16 Reserved4; /* 0x0A */
314 357 U16 Reserved5; /* 0x0C */
315 358 U16 IOCStatus; /* 0x0E */
316 359 U32 IOCLogInfo; /* 0x10 */
317 360 U32 ReturnedDataLength; /* 0x14 */
318 361 } MPI2_TOOLBOX_DIAGNOSTIC_CLI_REPLY,
319 362 MPI2_POINTER PTR_MPI2_TOOLBOX_DIAG_CLI_REPLY,
320 363 Mpi2ToolboxDiagnosticCliReply_t,
321 364 MPI2_POINTER pMpi2ToolboxDiagnosticCliReply_t;
322 365
323 366
324 367 /*****************************************************************************
325 368 *
326 369 * Diagnostic Buffer Messages
327 370 *
328 371 *****************************************************************************/
329 372
330 373
331 374 /****************************************************************************
332 375 * Diagnostic Buffer Post request
333 376 ****************************************************************************/
334 377
335 378 typedef struct _MPI2_DIAG_BUFFER_POST_REQUEST
336 379 {
337 380 U8 ExtendedType; /* 0x00 */
338 381 U8 BufferType; /* 0x01 */
339 382 U8 ChainOffset; /* 0x02 */
340 383 U8 Function; /* 0x03 */
341 384 U16 Reserved2; /* 0x04 */
342 385 U8 Reserved3; /* 0x06 */
343 386 U8 MsgFlags; /* 0x07 */
344 387 U8 VP_ID; /* 0x08 */
345 388 U8 VF_ID; /* 0x09 */
346 389 U16 Reserved4; /* 0x0A */
347 390 U64 BufferAddress; /* 0x0C */
348 391 U32 BufferLength; /* 0x14 */
349 392 U32 Reserved5; /* 0x18 */
350 393 U32 Reserved6; /* 0x1C */
351 394 U32 Flags; /* 0x20 */
352 395 U32 ProductSpecific[23]; /* 0x24 */
353 396 } MPI2_DIAG_BUFFER_POST_REQUEST, MPI2_POINTER PTR_MPI2_DIAG_BUFFER_POST_REQUEST,
354 397 Mpi2DiagBufferPostRequest_t, MPI2_POINTER pMpi2DiagBufferPostRequest_t;
355 398
↓ open down ↓ |
47 lines elided |
↑ open up ↑ |
356 399 /* values for the ExtendedType field */
357 400 #define MPI2_DIAG_EXTENDED_TYPE_UTILIZATION (0x02)
358 401
359 402 /* values for the BufferType field */
360 403 #define MPI2_DIAG_BUF_TYPE_TRACE (0x00)
361 404 #define MPI2_DIAG_BUF_TYPE_SNAPSHOT (0x01)
362 405 #define MPI2_DIAG_BUF_TYPE_EXTENDED (0x02)
363 406 /* count of the number of buffer types */
364 407 #define MPI2_DIAG_BUF_TYPE_COUNT (0x03)
365 408
409 +/* values for the Flags field */
410 +#define MPI2_DIAG_BUF_FLAG_RELEASE_ON_FULL (0x00000002) /* for MPI v2.0 products only */
411 +#define MPI2_DIAG_BUF_FLAG_IMMEDIATE_RELEASE (0x00000001)
366 412
367 413 /****************************************************************************
368 414 * Diagnostic Buffer Post reply
369 415 ****************************************************************************/
370 416
371 417 typedef struct _MPI2_DIAG_BUFFER_POST_REPLY
372 418 {
373 419 U8 ExtendedType; /* 0x00 */
374 420 U8 BufferType; /* 0x01 */
375 421 U8 MsgLength; /* 0x02 */
376 422 U8 Function; /* 0x03 */
377 423 U16 Reserved2; /* 0x04 */
378 424 U8 Reserved3; /* 0x06 */
379 425 U8 MsgFlags; /* 0x07 */
380 426 U8 VP_ID; /* 0x08 */
381 427 U8 VF_ID; /* 0x09 */
382 428 U16 Reserved4; /* 0x0A */
383 429 U16 Reserved5; /* 0x0C */
384 430 U16 IOCStatus; /* 0x0E */
385 431 U32 IOCLogInfo; /* 0x10 */
386 432 U32 TransferLength; /* 0x14 */
387 433 } MPI2_DIAG_BUFFER_POST_REPLY, MPI2_POINTER PTR_MPI2_DIAG_BUFFER_POST_REPLY,
388 434 Mpi2DiagBufferPostReply_t, MPI2_POINTER pMpi2DiagBufferPostReply_t;
389 435
390 436
391 437 /****************************************************************************
392 438 * Diagnostic Release request
393 439 ****************************************************************************/
394 440
395 441 typedef struct _MPI2_DIAG_RELEASE_REQUEST
396 442 {
397 443 U8 Reserved1; /* 0x00 */
398 444 U8 BufferType; /* 0x01 */
399 445 U8 ChainOffset; /* 0x02 */
400 446 U8 Function; /* 0x03 */
401 447 U16 Reserved2; /* 0x04 */
402 448 U8 Reserved3; /* 0x06 */
403 449 U8 MsgFlags; /* 0x07 */
404 450 U8 VP_ID; /* 0x08 */
405 451 U8 VF_ID; /* 0x09 */
406 452 U16 Reserved4; /* 0x0A */
407 453 } MPI2_DIAG_RELEASE_REQUEST, MPI2_POINTER PTR_MPI2_DIAG_RELEASE_REQUEST,
408 454 Mpi2DiagReleaseRequest_t, MPI2_POINTER pMpi2DiagReleaseRequest_t;
409 455
410 456
411 457 /****************************************************************************
412 458 * Diagnostic Buffer Post reply
413 459 ****************************************************************************/
414 460
415 461 typedef struct _MPI2_DIAG_RELEASE_REPLY
416 462 {
417 463 U8 Reserved1; /* 0x00 */
418 464 U8 BufferType; /* 0x01 */
419 465 U8 MsgLength; /* 0x02 */
420 466 U8 Function; /* 0x03 */
421 467 U16 Reserved2; /* 0x04 */
422 468 U8 Reserved3; /* 0x06 */
423 469 U8 MsgFlags; /* 0x07 */
424 470 U8 VP_ID; /* 0x08 */
425 471 U8 VF_ID; /* 0x09 */
426 472 U16 Reserved4; /* 0x0A */
427 473 U16 Reserved5; /* 0x0C */
428 474 U16 IOCStatus; /* 0x0E */
429 475 U32 IOCLogInfo; /* 0x10 */
430 476 } MPI2_DIAG_RELEASE_REPLY, MPI2_POINTER PTR_MPI2_DIAG_RELEASE_REPLY,
431 477 Mpi2DiagReleaseReply_t, MPI2_POINTER pMpi2DiagReleaseReply_t;
432 478
433 479
434 480 #endif
435 481
↓ open down ↓ |
60 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX