mpi2_tool.h 16 KB

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