mpi2_tool.h 16 KB

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