mpi2_tool.h 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. /*
  2. * Copyright (c) 2000-2014 LSI Corporation.
  3. *
  4. *
  5. * Name: mpi2_tool.h
  6. * Title: MPI diagnostic tool structures and definitions
  7. * Creation Date: March 26, 2007
  8. *
  9. * mpi2_tool.h Version: 02.00.11
  10. *
  11. * Version History
  12. * ---------------
  13. *
  14. * Date Version Description
  15. * -------- -------- ------------------------------------------------------
  16. * 04-30-07 02.00.00 Corresponds to Fusion-MPT MPI Specification Rev A.
  17. * 12-18-07 02.00.01 Added Diagnostic Buffer Post and Diagnostic Release
  18. * structures and defines.
  19. * 02-29-08 02.00.02 Modified various names to make them 32-character unique.
  20. * 05-06-09 02.00.03 Added ISTWI Read Write Tool and Diagnostic CLI Tool.
  21. * 07-30-09 02.00.04 Added ExtendedType field to DiagnosticBufferPost request
  22. * and reply messages.
  23. * Added MPI2_DIAG_BUF_TYPE_EXTENDED.
  24. * Incremented MPI2_DIAG_BUF_TYPE_COUNT.
  25. * 05-12-10 02.00.05 Added Diagnostic Data Upload tool.
  26. * 08-11-10 02.00.06 Added defines that were missing for Diagnostic Buffer
  27. * Post Request.
  28. * 05-25-11 02.00.07 Added Flags field and related defines to
  29. * MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST.
  30. * 07-26-12 02.00.10 Modified MPI2_TOOLBOX_DIAGNOSTIC_CLI_REQUEST so that
  31. * it uses MPI Chain SGE as well as MPI Simple SGE.
  32. * 08-19-13 02.00.11 Added MPI2_TOOLBOX_TEXT_DISPLAY_TOOL and related info.
  33. * --------------------------------------------------------------------------
  34. */
  35. #ifndef MPI2_TOOL_H
  36. #define MPI2_TOOL_H
  37. /*****************************************************************************
  38. *
  39. * Toolbox Messages
  40. *
  41. *****************************************************************************/
  42. /* defines for the Tools */
  43. #define MPI2_TOOLBOX_CLEAN_TOOL (0x00)
  44. #define MPI2_TOOLBOX_MEMORY_MOVE_TOOL (0x01)
  45. #define MPI2_TOOLBOX_DIAG_DATA_UPLOAD_TOOL (0x02)
  46. #define MPI2_TOOLBOX_ISTWI_READ_WRITE_TOOL (0x03)
  47. #define MPI2_TOOLBOX_BEACON_TOOL (0x05)
  48. #define MPI2_TOOLBOX_DIAGNOSTIC_CLI_TOOL (0x06)
  49. #define MPI2_TOOLBOX_TEXT_DISPLAY_TOOL (0x07)
  50. /****************************************************************************
  51. * Toolbox reply
  52. ****************************************************************************/
  53. typedef struct _MPI2_TOOLBOX_REPLY
  54. {
  55. U8 Tool; /* 0x00 */
  56. U8 Reserved1; /* 0x01 */
  57. U8 MsgLength; /* 0x02 */
  58. U8 Function; /* 0x03 */
  59. U16 Reserved2; /* 0x04 */
  60. U8 Reserved3; /* 0x06 */
  61. U8 MsgFlags; /* 0x07 */
  62. U8 VP_ID; /* 0x08 */
  63. U8 VF_ID; /* 0x09 */
  64. U16 Reserved4; /* 0x0A */
  65. U16 Reserved5; /* 0x0C */
  66. U16 IOCStatus; /* 0x0E */
  67. U32 IOCLogInfo; /* 0x10 */
  68. } MPI2_TOOLBOX_REPLY, MPI2_POINTER PTR_MPI2_TOOLBOX_REPLY,
  69. Mpi2ToolboxReply_t, MPI2_POINTER pMpi2ToolboxReply_t;
  70. /****************************************************************************
  71. * Toolbox Clean Tool request
  72. ****************************************************************************/
  73. typedef struct _MPI2_TOOLBOX_CLEAN_REQUEST
  74. {
  75. U8 Tool; /* 0x00 */
  76. U8 Reserved1; /* 0x01 */
  77. U8 ChainOffset; /* 0x02 */
  78. U8 Function; /* 0x03 */
  79. U16 Reserved2; /* 0x04 */
  80. U8 Reserved3; /* 0x06 */
  81. U8 MsgFlags; /* 0x07 */
  82. U8 VP_ID; /* 0x08 */
  83. U8 VF_ID; /* 0x09 */
  84. U16 Reserved4; /* 0x0A */
  85. U32 Flags; /* 0x0C */
  86. } MPI2_TOOLBOX_CLEAN_REQUEST, MPI2_POINTER PTR_MPI2_TOOLBOX_CLEAN_REQUEST,
  87. Mpi2ToolboxCleanRequest_t, MPI2_POINTER pMpi2ToolboxCleanRequest_t;
  88. /* values for the Flags field */
  89. #define MPI2_TOOLBOX_CLEAN_BOOT_SERVICES (0x80000000)
  90. #define MPI2_TOOLBOX_CLEAN_PERSIST_MANUFACT_PAGES (0x40000000)
  91. #define MPI2_TOOLBOX_CLEAN_OTHER_PERSIST_PAGES (0x20000000)
  92. #define MPI2_TOOLBOX_CLEAN_FW_CURRENT (0x10000000)
  93. #define MPI2_TOOLBOX_CLEAN_FW_BACKUP (0x08000000)
  94. #define MPI2_TOOLBOX_CLEAN_MEGARAID (0x02000000)
  95. #define MPI2_TOOLBOX_CLEAN_INITIALIZATION (0x01000000)
  96. #define MPI2_TOOLBOX_CLEAN_FLASH (0x00000004)
  97. #define MPI2_TOOLBOX_CLEAN_SEEPROM (0x00000002)
  98. #define MPI2_TOOLBOX_CLEAN_NVSRAM (0x00000001)
  99. /****************************************************************************
  100. * Toolbox Memory Move request
  101. ****************************************************************************/
  102. typedef struct _MPI2_TOOLBOX_MEM_MOVE_REQUEST {
  103. U8 Tool; /* 0x00 */
  104. U8 Reserved1; /* 0x01 */
  105. U8 ChainOffset; /* 0x02 */
  106. U8 Function; /* 0x03 */
  107. U16 Reserved2; /* 0x04 */
  108. U8 Reserved3; /* 0x06 */
  109. U8 MsgFlags; /* 0x07 */
  110. U8 VP_ID; /* 0x08 */
  111. U8 VF_ID; /* 0x09 */
  112. U16 Reserved4; /* 0x0A */
  113. MPI2_SGE_SIMPLE_UNION SGL; /* 0x0C */
  114. } MPI2_TOOLBOX_MEM_MOVE_REQUEST, MPI2_POINTER PTR_MPI2_TOOLBOX_MEM_MOVE_REQUEST,
  115. Mpi2ToolboxMemMoveRequest_t, MPI2_POINTER pMpi2ToolboxMemMoveRequest_t;
  116. /****************************************************************************
  117. * Toolbox Diagnostic Data Upload request
  118. ****************************************************************************/
  119. typedef struct _MPI2_TOOLBOX_DIAG_DATA_UPLOAD_REQUEST {
  120. U8 Tool; /* 0x00 */
  121. U8 Reserved1; /* 0x01 */
  122. U8 ChainOffset; /* 0x02 */
  123. U8 Function; /* 0x03 */
  124. U16 Reserved2; /* 0x04 */
  125. U8 Reserved3; /* 0x06 */
  126. U8 MsgFlags; /* 0x07 */
  127. U8 VP_ID; /* 0x08 */
  128. U8 VF_ID; /* 0x09 */
  129. U16 Reserved4; /* 0x0A */
  130. U8 SGLFlags; /* 0x0C */
  131. U8 Reserved5; /* 0x0D */
  132. U16 Reserved6; /* 0x0E */
  133. U32 Flags; /* 0x10 */
  134. U32 DataLength; /* 0x14 */
  135. MPI2_SGE_SIMPLE_UNION SGL; /* 0x18 */
  136. } MPI2_TOOLBOX_DIAG_DATA_UPLOAD_REQUEST,
  137. MPI2_POINTER PTR_MPI2_TOOLBOX_DIAG_DATA_UPLOAD_REQUEST,
  138. Mpi2ToolboxDiagDataUploadRequest_t,
  139. MPI2_POINTER pMpi2ToolboxDiagDataUploadRequest_t;
  140. /* use MPI2_SGLFLAGS_ defines from mpi2.h for the SGLFlags field */
  141. typedef struct _MPI2_DIAG_DATA_UPLOAD_HEADER {
  142. U32 DiagDataLength; /* 00h */
  143. U8 FormatCode; /* 04h */
  144. U8 Reserved1; /* 05h */
  145. U16 Reserved2; /* 06h */
  146. } MPI2_DIAG_DATA_UPLOAD_HEADER, MPI2_POINTER PTR_MPI2_DIAG_DATA_UPLOAD_HEADER,
  147. Mpi2DiagDataUploadHeader_t, MPI2_POINTER pMpi2DiagDataUploadHeader_t;
  148. /****************************************************************************
  149. * Toolbox ISTWI Read Write Tool
  150. ****************************************************************************/
  151. /* Toolbox ISTWI Read Write Tool request message */
  152. typedef struct _MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST {
  153. U8 Tool; /* 0x00 */
  154. U8 Reserved1; /* 0x01 */
  155. U8 ChainOffset; /* 0x02 */
  156. U8 Function; /* 0x03 */
  157. U16 Reserved2; /* 0x04 */
  158. U8 Reserved3; /* 0x06 */
  159. U8 MsgFlags; /* 0x07 */
  160. U8 VP_ID; /* 0x08 */
  161. U8 VF_ID; /* 0x09 */
  162. U16 Reserved4; /* 0x0A */
  163. U32 Reserved5; /* 0x0C */
  164. U32 Reserved6; /* 0x10 */
  165. U8 DevIndex; /* 0x14 */
  166. U8 Action; /* 0x15 */
  167. U8 SGLFlags; /* 0x16 */
  168. U8 Flags; /* 0x17 */
  169. U16 TxDataLength; /* 0x18 */
  170. U16 RxDataLength; /* 0x1A */
  171. U32 Reserved8; /* 0x1C */
  172. U32 Reserved9; /* 0x20 */
  173. U32 Reserved10; /* 0x24 */
  174. U32 Reserved11; /* 0x28 */
  175. U32 Reserved12; /* 0x2C */
  176. MPI2_SGE_SIMPLE_UNION SGL; /* 0x30 */
  177. } MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST,
  178. MPI2_POINTER PTR_MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST,
  179. Mpi2ToolboxIstwiReadWriteRequest_t,
  180. MPI2_POINTER pMpi2ToolboxIstwiReadWriteRequest_t;
  181. /* values for the Action field */
  182. #define MPI2_TOOL_ISTWI_ACTION_READ_DATA (0x01)
  183. #define MPI2_TOOL_ISTWI_ACTION_WRITE_DATA (0x02)
  184. #define MPI2_TOOL_ISTWI_ACTION_SEQUENCE (0x03)
  185. #define MPI2_TOOL_ISTWI_ACTION_RESERVE_BUS (0x10)
  186. #define MPI2_TOOL_ISTWI_ACTION_RELEASE_BUS (0x11)
  187. #define MPI2_TOOL_ISTWI_ACTION_RESET (0x12)
  188. /* use MPI2_SGLFLAGS_ defines from mpi2.h for the SGLFlags field */
  189. /* values for the Flags field */
  190. #define MPI2_TOOL_ISTWI_FLAG_AUTO_RESERVE_RELEASE (0x80)
  191. #define MPI2_TOOL_ISTWI_FLAG_PAGE_ADDR_MASK (0x07)
  192. /* Toolbox ISTWI Read Write Tool reply message */
  193. typedef struct _MPI2_TOOLBOX_ISTWI_REPLY {
  194. U8 Tool; /* 0x00 */
  195. U8 Reserved1; /* 0x01 */
  196. U8 MsgLength; /* 0x02 */
  197. U8 Function; /* 0x03 */
  198. U16 Reserved2; /* 0x04 */
  199. U8 Reserved3; /* 0x06 */
  200. U8 MsgFlags; /* 0x07 */
  201. U8 VP_ID; /* 0x08 */
  202. U8 VF_ID; /* 0x09 */
  203. U16 Reserved4; /* 0x0A */
  204. U16 Reserved5; /* 0x0C */
  205. U16 IOCStatus; /* 0x0E */
  206. U32 IOCLogInfo; /* 0x10 */
  207. U8 DevIndex; /* 0x14 */
  208. U8 Action; /* 0x15 */
  209. U8 IstwiStatus; /* 0x16 */
  210. U8 Reserved6; /* 0x17 */
  211. U16 TxDataCount; /* 0x18 */
  212. U16 RxDataCount; /* 0x1A */
  213. } MPI2_TOOLBOX_ISTWI_REPLY, MPI2_POINTER PTR_MPI2_TOOLBOX_ISTWI_REPLY,
  214. Mpi2ToolboxIstwiReply_t, MPI2_POINTER pMpi2ToolboxIstwiReply_t;
  215. /****************************************************************************
  216. * Toolbox Beacon Tool request
  217. ****************************************************************************/
  218. typedef struct _MPI2_TOOLBOX_BEACON_REQUEST
  219. {
  220. U8 Tool; /* 0x00 */
  221. U8 Reserved1; /* 0x01 */
  222. U8 ChainOffset; /* 0x02 */
  223. U8 Function; /* 0x03 */
  224. U16 Reserved2; /* 0x04 */
  225. U8 Reserved3; /* 0x06 */
  226. U8 MsgFlags; /* 0x07 */
  227. U8 VP_ID; /* 0x08 */
  228. U8 VF_ID; /* 0x09 */
  229. U16 Reserved4; /* 0x0A */
  230. U8 Reserved5; /* 0x0C */
  231. U8 PhysicalPort; /* 0x0D */
  232. U8 Reserved6; /* 0x0E */
  233. U8 Flags; /* 0x0F */
  234. } MPI2_TOOLBOX_BEACON_REQUEST, MPI2_POINTER PTR_MPI2_TOOLBOX_BEACON_REQUEST,
  235. Mpi2ToolboxBeaconRequest_t, MPI2_POINTER pMpi2ToolboxBeaconRequest_t;
  236. /* values for the Flags field */
  237. #define MPI2_TOOLBOX_FLAGS_BEACONMODE_OFF (0x00)
  238. #define MPI2_TOOLBOX_FLAGS_BEACONMODE_ON (0x01)
  239. /****************************************************************************
  240. * Toolbox Diagnostic CLI Tool
  241. ****************************************************************************/
  242. #define MPI2_TOOLBOX_DIAG_CLI_CMD_LENGTH (0x5C)
  243. /* MPI v2.0 Toolbox Diagnostic CLI Tool request message */
  244. typedef struct _MPI2_TOOLBOX_DIAGNOSTIC_CLI_REQUEST {
  245. U8 Tool; /* 0x00 */
  246. U8 Reserved1; /* 0x01 */
  247. U8 ChainOffset; /* 0x02 */
  248. U8 Function; /* 0x03 */
  249. U16 Reserved2; /* 0x04 */
  250. U8 Reserved3; /* 0x06 */
  251. U8 MsgFlags; /* 0x07 */
  252. U8 VP_ID; /* 0x08 */
  253. U8 VF_ID; /* 0x09 */
  254. U16 Reserved4; /* 0x0A */
  255. U8 SGLFlags; /* 0x0C */
  256. U8 Reserved5; /* 0x0D */
  257. U16 Reserved6; /* 0x0E */
  258. U32 DataLength; /* 0x10 */
  259. U8 DiagnosticCliCommand
  260. [MPI2_TOOLBOX_DIAG_CLI_CMD_LENGTH]; /* 0x14 */
  261. MPI2_MPI_SGE_IO_UNION SGL; /* 0x70 */
  262. } MPI2_TOOLBOX_DIAGNOSTIC_CLI_REQUEST,
  263. MPI2_POINTER PTR_MPI2_TOOLBOX_DIAGNOSTIC_CLI_REQUEST,
  264. Mpi2ToolboxDiagnosticCliRequest_t,
  265. MPI2_POINTER pMpi2ToolboxDiagnosticCliRequest_t;
  266. /* use MPI2_SGLFLAGS_ defines from mpi2.h for the SGLFlags field */
  267. /* Toolbox Diagnostic CLI Tool reply message */
  268. typedef struct _MPI2_TOOLBOX_DIAGNOSTIC_CLI_REPLY {
  269. U8 Tool; /* 0x00 */
  270. U8 Reserved1; /* 0x01 */
  271. U8 MsgLength; /* 0x02 */
  272. U8 Function; /* 0x03 */
  273. U16 Reserved2; /* 0x04 */
  274. U8 Reserved3; /* 0x06 */
  275. U8 MsgFlags; /* 0x07 */
  276. U8 VP_ID; /* 0x08 */
  277. U8 VF_ID; /* 0x09 */
  278. U16 Reserved4; /* 0x0A */
  279. U16 Reserved5; /* 0x0C */
  280. U16 IOCStatus; /* 0x0E */
  281. U32 IOCLogInfo; /* 0x10 */
  282. U32 ReturnedDataLength; /* 0x14 */
  283. } MPI2_TOOLBOX_DIAGNOSTIC_CLI_REPLY,
  284. MPI2_POINTER PTR_MPI2_TOOLBOX_DIAG_CLI_REPLY,
  285. Mpi2ToolboxDiagnosticCliReply_t,
  286. MPI2_POINTER pMpi2ToolboxDiagnosticCliReply_t;
  287. /****************************************************************************
  288. * Toolbox Console Text Display Tool
  289. ****************************************************************************/
  290. /* Toolbox Console Text Display Tool request message */
  291. typedef struct _MPI2_TOOLBOX_TEXT_DISPLAY_REQUEST {
  292. U8 Tool; /* 0x00 */
  293. U8 Reserved1; /* 0x01 */
  294. U8 ChainOffset; /* 0x02 */
  295. U8 Function; /* 0x03 */
  296. U16 Reserved2; /* 0x04 */
  297. U8 Reserved3; /* 0x06 */
  298. U8 MsgFlags; /* 0x07 */
  299. U8 VP_ID; /* 0x08 */
  300. U8 VF_ID; /* 0x09 */
  301. U16 Reserved4; /* 0x0A */
  302. U8 Console; /* 0x0C */
  303. U8 Flags; /* 0x0D */
  304. U16 Reserved6; /* 0x0E */
  305. U8 TextToDisplay[4]; /* 0x10 */
  306. } MPI2_TOOLBOX_TEXT_DISPLAY_REQUEST,
  307. MPI2_POINTER PTR_MPI2_TOOLBOX_TEXT_DISPLAY_REQUEST,
  308. Mpi2ToolboxTextDisplayRequest_t,
  309. MPI2_POINTER pMpi2ToolboxTextDisplayRequest_t;
  310. /* defines for the Console field */
  311. #define MPI2_TOOLBOX_CONSOLE_TYPE_MASK (0xF0)
  312. #define MPI2_TOOLBOX_CONSOLE_TYPE_DEFAULT (0x00)
  313. #define MPI2_TOOLBOX_CONSOLE_TYPE_UART (0x10)
  314. #define MPI2_TOOLBOX_CONSOLE_TYPE_ETHERNET (0x20)
  315. #define MPI2_TOOLBOX_CONSOLE_NUMBER_MASK (0x0F)
  316. /* defines for the Flags field */
  317. #define MPI2_TOOLBOX_CONSOLE_FLAG_TIMESTAMP (0x01)
  318. /*****************************************************************************
  319. *
  320. * Diagnostic Buffer Messages
  321. *
  322. *****************************************************************************/
  323. /****************************************************************************
  324. * Diagnostic Buffer Post request
  325. ****************************************************************************/
  326. typedef struct _MPI2_DIAG_BUFFER_POST_REQUEST
  327. {
  328. U8 ExtendedType; /* 0x00 */
  329. U8 BufferType; /* 0x01 */
  330. U8 ChainOffset; /* 0x02 */
  331. U8 Function; /* 0x03 */
  332. U16 Reserved2; /* 0x04 */
  333. U8 Reserved3; /* 0x06 */
  334. U8 MsgFlags; /* 0x07 */
  335. U8 VP_ID; /* 0x08 */
  336. U8 VF_ID; /* 0x09 */
  337. U16 Reserved4; /* 0x0A */
  338. U64 BufferAddress; /* 0x0C */
  339. U32 BufferLength; /* 0x14 */
  340. U32 Reserved5; /* 0x18 */
  341. U32 Reserved6; /* 0x1C */
  342. U32 Flags; /* 0x20 */
  343. U32 ProductSpecific[23]; /* 0x24 */
  344. } MPI2_DIAG_BUFFER_POST_REQUEST, MPI2_POINTER PTR_MPI2_DIAG_BUFFER_POST_REQUEST,
  345. Mpi2DiagBufferPostRequest_t, MPI2_POINTER pMpi2DiagBufferPostRequest_t;
  346. /* values for the ExtendedType field */
  347. #define MPI2_DIAG_EXTENDED_TYPE_UTILIZATION (0x02)
  348. /* values for the BufferType field */
  349. #define MPI2_DIAG_BUF_TYPE_TRACE (0x00)
  350. #define MPI2_DIAG_BUF_TYPE_SNAPSHOT (0x01)
  351. #define MPI2_DIAG_BUF_TYPE_EXTENDED (0x02)
  352. /* count of the number of buffer types */
  353. #define MPI2_DIAG_BUF_TYPE_COUNT (0x03)
  354. /* values for the Flags field */
  355. #define MPI2_DIAG_BUF_FLAG_RELEASE_ON_FULL (0x00000002)
  356. #define MPI2_DIAG_BUF_FLAG_IMMEDIATE_RELEASE (0x00000001)
  357. /****************************************************************************
  358. * Diagnostic Buffer Post reply
  359. ****************************************************************************/
  360. typedef struct _MPI2_DIAG_BUFFER_POST_REPLY
  361. {
  362. U8 ExtendedType; /* 0x00 */
  363. U8 BufferType; /* 0x01 */
  364. U8 MsgLength; /* 0x02 */
  365. U8 Function; /* 0x03 */
  366. U16 Reserved2; /* 0x04 */
  367. U8 Reserved3; /* 0x06 */
  368. U8 MsgFlags; /* 0x07 */
  369. U8 VP_ID; /* 0x08 */
  370. U8 VF_ID; /* 0x09 */
  371. U16 Reserved4; /* 0x0A */
  372. U16 Reserved5; /* 0x0C */
  373. U16 IOCStatus; /* 0x0E */
  374. U32 IOCLogInfo; /* 0x10 */
  375. U32 TransferLength; /* 0x14 */
  376. } MPI2_DIAG_BUFFER_POST_REPLY, MPI2_POINTER PTR_MPI2_DIAG_BUFFER_POST_REPLY,
  377. Mpi2DiagBufferPostReply_t, MPI2_POINTER pMpi2DiagBufferPostReply_t;
  378. /****************************************************************************
  379. * Diagnostic Release request
  380. ****************************************************************************/
  381. typedef struct _MPI2_DIAG_RELEASE_REQUEST
  382. {
  383. U8 Reserved1; /* 0x00 */
  384. U8 BufferType; /* 0x01 */
  385. U8 ChainOffset; /* 0x02 */
  386. U8 Function; /* 0x03 */
  387. U16 Reserved2; /* 0x04 */
  388. U8 Reserved3; /* 0x06 */
  389. U8 MsgFlags; /* 0x07 */
  390. U8 VP_ID; /* 0x08 */
  391. U8 VF_ID; /* 0x09 */
  392. U16 Reserved4; /* 0x0A */
  393. } MPI2_DIAG_RELEASE_REQUEST, MPI2_POINTER PTR_MPI2_DIAG_RELEASE_REQUEST,
  394. Mpi2DiagReleaseRequest_t, MPI2_POINTER pMpi2DiagReleaseRequest_t;
  395. /****************************************************************************
  396. * Diagnostic Buffer Post reply
  397. ****************************************************************************/
  398. typedef struct _MPI2_DIAG_RELEASE_REPLY
  399. {
  400. U8 Reserved1; /* 0x00 */
  401. U8 BufferType; /* 0x01 */
  402. U8 MsgLength; /* 0x02 */
  403. U8 Function; /* 0x03 */
  404. U16 Reserved2; /* 0x04 */
  405. U8 Reserved3; /* 0x06 */
  406. U8 MsgFlags; /* 0x07 */
  407. U8 VP_ID; /* 0x08 */
  408. U8 VF_ID; /* 0x09 */
  409. U16 Reserved4; /* 0x0A */
  410. U16 Reserved5; /* 0x0C */
  411. U16 IOCStatus; /* 0x0E */
  412. U32 IOCLogInfo; /* 0x10 */
  413. } MPI2_DIAG_RELEASE_REPLY, MPI2_POINTER PTR_MPI2_DIAG_RELEASE_REPLY,
  414. Mpi2DiagReleaseReply_t, MPI2_POINTER pMpi2DiagReleaseReply_t;
  415. #endif