19de3c85cSMatt Jacob /* $FreeBSD$ */ 29de3c85cSMatt Jacob /*- 39de3c85cSMatt Jacob * Copyright (c) 2000-2005, LSI Logic Corporation and its contributors. 49de3c85cSMatt Jacob * All rights reserved. 59de3c85cSMatt Jacob * 69de3c85cSMatt Jacob * Redistribution and use in source and binary forms, with or without 79de3c85cSMatt Jacob * modification, are permitted provided that the following conditions are 89de3c85cSMatt Jacob * met: 99de3c85cSMatt Jacob * 1. Redistributions of source code must retain the above copyright 109de3c85cSMatt Jacob * notice, this list of conditions and the following disclaimer. 119de3c85cSMatt Jacob * 2. Redistributions in binary form must reproduce at minimum a disclaimer 129de3c85cSMatt Jacob * substantially similar to the "NO WARRANTY" disclaimer below 139de3c85cSMatt Jacob * ("Disclaimer") and any redistribution must be conditioned upon including 149de3c85cSMatt Jacob * a substantially similar Disclaimer requirement for further binary 159de3c85cSMatt Jacob * redistribution. 169de3c85cSMatt Jacob * 3. Neither the name of the LSI Logic Corporation nor the names of its 179de3c85cSMatt Jacob * contributors may be used to endorse or promote products derived from 189de3c85cSMatt Jacob * this software without specific prior written permission. 199de3c85cSMatt Jacob * 209de3c85cSMatt Jacob * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 219de3c85cSMatt Jacob * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 229de3c85cSMatt Jacob * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 239de3c85cSMatt Jacob * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 249de3c85cSMatt Jacob * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 259de3c85cSMatt Jacob * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 269de3c85cSMatt Jacob * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 279de3c85cSMatt Jacob * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 289de3c85cSMatt Jacob * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 299de3c85cSMatt Jacob * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF THE COPYRIGHT 309de3c85cSMatt Jacob * OWNER OR CONTRIBUTOR IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 319de3c85cSMatt Jacob * 329de3c85cSMatt Jacob * Name: mpi_sas.h 339de3c85cSMatt Jacob * Title: MPI Serial Attached SCSI structures and definitions 349de3c85cSMatt Jacob * Creation Date: August 19, 2004 359de3c85cSMatt Jacob * 3662ae194dSScott Long * mpi_sas.h Version: 01.05.04 379de3c85cSMatt Jacob * 389de3c85cSMatt Jacob * Version History 399de3c85cSMatt Jacob * --------------- 409de3c85cSMatt Jacob * 419de3c85cSMatt Jacob * Date Version Description 429de3c85cSMatt Jacob * -------- -------- ------------------------------------------------------ 439de3c85cSMatt Jacob * 08-19-04 01.05.01 Original release. 440b80d21bSMatt Jacob * 08-30-05 01.05.02 Added DeviceInfo bit for SEP. 450b80d21bSMatt Jacob * Added PrimFlags and Primitive field to SAS IO Unit 460b80d21bSMatt Jacob * Control request, and added a new operation code. 4762ae194dSScott Long * 03-27-06 01.05.03 Added Force Full Discovery, Transmit Port Select Signal, 4862ae194dSScott Long * and Remove Device operations to SAS IO Unit Control. 4962ae194dSScott Long * Added DevHandle field to SAS IO Unit Control request and 5062ae194dSScott Long * reply. 5162ae194dSScott Long * 10-11-06 01.05.04 Fixed the name of a define for Operation field of SAS IO 5262ae194dSScott Long * Unit Control request. 539de3c85cSMatt Jacob * -------------------------------------------------------------------------- 549de3c85cSMatt Jacob */ 559de3c85cSMatt Jacob 569de3c85cSMatt Jacob #ifndef MPI_SAS_H 579de3c85cSMatt Jacob #define MPI_SAS_H 589de3c85cSMatt Jacob 599de3c85cSMatt Jacob 609de3c85cSMatt Jacob /* 619de3c85cSMatt Jacob * Values for SASStatus. 629de3c85cSMatt Jacob */ 639de3c85cSMatt Jacob #define MPI_SASSTATUS_SUCCESS (0x00) 649de3c85cSMatt Jacob #define MPI_SASSTATUS_UNKNOWN_ERROR (0x01) 659de3c85cSMatt Jacob #define MPI_SASSTATUS_INVALID_FRAME (0x02) 669de3c85cSMatt Jacob #define MPI_SASSTATUS_UTC_BAD_DEST (0x03) 679de3c85cSMatt Jacob #define MPI_SASSTATUS_UTC_BREAK_RECEIVED (0x04) 689de3c85cSMatt Jacob #define MPI_SASSTATUS_UTC_CONNECT_RATE_NOT_SUPPORTED (0x05) 699de3c85cSMatt Jacob #define MPI_SASSTATUS_UTC_PORT_LAYER_REQUEST (0x06) 709de3c85cSMatt Jacob #define MPI_SASSTATUS_UTC_PROTOCOL_NOT_SUPPORTED (0x07) 719de3c85cSMatt Jacob #define MPI_SASSTATUS_UTC_STP_RESOURCES_BUSY (0x08) 729de3c85cSMatt Jacob #define MPI_SASSTATUS_UTC_WRONG_DESTINATION (0x09) 739de3c85cSMatt Jacob #define MPI_SASSTATUS_SHORT_INFORMATION_UNIT (0x0A) 749de3c85cSMatt Jacob #define MPI_SASSTATUS_LONG_INFORMATION_UNIT (0x0B) 759de3c85cSMatt Jacob #define MPI_SASSTATUS_XFER_RDY_INCORRECT_WRITE_DATA (0x0C) 769de3c85cSMatt Jacob #define MPI_SASSTATUS_XFER_RDY_REQUEST_OFFSET_ERROR (0x0D) 779de3c85cSMatt Jacob #define MPI_SASSTATUS_XFER_RDY_NOT_EXPECTED (0x0E) 789de3c85cSMatt Jacob #define MPI_SASSTATUS_DATA_INCORRECT_DATA_LENGTH (0x0F) 799de3c85cSMatt Jacob #define MPI_SASSTATUS_DATA_TOO_MUCH_READ_DATA (0x10) 809de3c85cSMatt Jacob #define MPI_SASSTATUS_DATA_OFFSET_ERROR (0x11) 819de3c85cSMatt Jacob #define MPI_SASSTATUS_SDSF_NAK_RECEIVED (0x12) 829de3c85cSMatt Jacob #define MPI_SASSTATUS_SDSF_CONNECTION_FAILED (0x13) 839de3c85cSMatt Jacob #define MPI_SASSTATUS_INITIATOR_RESPONSE_TIMEOUT (0x14) 849de3c85cSMatt Jacob 859de3c85cSMatt Jacob 869de3c85cSMatt Jacob /* 879de3c85cSMatt Jacob * Values for the SAS DeviceInfo field used in SAS Device Status Change Event 889de3c85cSMatt Jacob * data and SAS IO Unit Configuration pages. 899de3c85cSMatt Jacob */ 900b80d21bSMatt Jacob #define MPI_SAS_DEVICE_INFO_SEP (0x00004000) 919de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_ATAPI_DEVICE (0x00002000) 929de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_LSI_DEVICE (0x00001000) 939de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_DIRECT_ATTACH (0x00000800) 949de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_SSP_TARGET (0x00000400) 959de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_STP_TARGET (0x00000200) 969de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_SMP_TARGET (0x00000100) 979de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_SATA_DEVICE (0x00000080) 989de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_SSP_INITIATOR (0x00000040) 999de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_STP_INITIATOR (0x00000020) 1009de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_SMP_INITIATOR (0x00000010) 1019de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_SATA_HOST (0x00000008) 1029de3c85cSMatt Jacob 1039de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_MASK_DEVICE_TYPE (0x00000007) 1049de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_NO_DEVICE (0x00000000) 1059de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_END_DEVICE (0x00000001) 1069de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_EDGE_EXPANDER (0x00000002) 1079de3c85cSMatt Jacob #define MPI_SAS_DEVICE_INFO_FANOUT_EXPANDER (0x00000003) 1089de3c85cSMatt Jacob 1099de3c85cSMatt Jacob 1109de3c85cSMatt Jacob 1119de3c85cSMatt Jacob /***************************************************************************** 1129de3c85cSMatt Jacob * 1139de3c85cSMatt Jacob * S e r i a l A t t a c h e d S C S I M e s s a g e s 1149de3c85cSMatt Jacob * 1159de3c85cSMatt Jacob *****************************************************************************/ 1169de3c85cSMatt Jacob 1179de3c85cSMatt Jacob /****************************************************************************/ 1189de3c85cSMatt Jacob /* Serial Management Protocol Passthrough Request */ 1199de3c85cSMatt Jacob /****************************************************************************/ 1209de3c85cSMatt Jacob 1219de3c85cSMatt Jacob typedef struct _MSG_SMP_PASSTHROUGH_REQUEST 1229de3c85cSMatt Jacob { 1239de3c85cSMatt Jacob U8 PassthroughFlags; /* 00h */ 1249de3c85cSMatt Jacob U8 PhysicalPort; /* 01h */ 1259de3c85cSMatt Jacob U8 ChainOffset; /* 02h */ 1269de3c85cSMatt Jacob U8 Function; /* 03h */ 1279de3c85cSMatt Jacob U16 RequestDataLength; /* 04h */ 1289de3c85cSMatt Jacob U8 ConnectionRate; /* 06h */ 1299de3c85cSMatt Jacob U8 MsgFlags; /* 07h */ 1309de3c85cSMatt Jacob U32 MsgContext; /* 08h */ 1319de3c85cSMatt Jacob U32 Reserved1; /* 0Ch */ 1329de3c85cSMatt Jacob U64 SASAddress; /* 10h */ 1339de3c85cSMatt Jacob U32 Reserved2; /* 18h */ 1349de3c85cSMatt Jacob U32 Reserved3; /* 1Ch */ 1359de3c85cSMatt Jacob SGE_SIMPLE_UNION SGL; /* 20h */ 1369de3c85cSMatt Jacob } MSG_SMP_PASSTHROUGH_REQUEST, MPI_POINTER PTR_MSG_SMP_PASSTHROUGH_REQUEST, 1379de3c85cSMatt Jacob SmpPassthroughRequest_t, MPI_POINTER pSmpPassthroughRequest_t; 1389de3c85cSMatt Jacob 1399de3c85cSMatt Jacob /* values for PassthroughFlags field */ 1409de3c85cSMatt Jacob #define MPI_SMP_PT_REQ_PT_FLAGS_IMMEDIATE (0x80) 1419de3c85cSMatt Jacob 1429de3c85cSMatt Jacob /* values for ConnectionRate field */ 1439de3c85cSMatt Jacob #define MPI_SMP_PT_REQ_CONNECT_RATE_NEGOTIATED (0x00) 1449de3c85cSMatt Jacob #define MPI_SMP_PT_REQ_CONNECT_RATE_1_5 (0x08) 1459de3c85cSMatt Jacob #define MPI_SMP_PT_REQ_CONNECT_RATE_3_0 (0x09) 1469de3c85cSMatt Jacob 1479de3c85cSMatt Jacob 1489de3c85cSMatt Jacob /* Serial Management Protocol Passthrough Reply */ 1499de3c85cSMatt Jacob typedef struct _MSG_SMP_PASSTHROUGH_REPLY 1509de3c85cSMatt Jacob { 1519de3c85cSMatt Jacob U8 PassthroughFlags; /* 00h */ 1529de3c85cSMatt Jacob U8 PhysicalPort; /* 01h */ 1539de3c85cSMatt Jacob U8 MsgLength; /* 02h */ 1549de3c85cSMatt Jacob U8 Function; /* 03h */ 1559de3c85cSMatt Jacob U16 ResponseDataLength; /* 04h */ 1569de3c85cSMatt Jacob U8 Reserved1; /* 06h */ 1579de3c85cSMatt Jacob U8 MsgFlags; /* 07h */ 1589de3c85cSMatt Jacob U32 MsgContext; /* 08h */ 1599de3c85cSMatt Jacob U8 Reserved2; /* 0Ch */ 1609de3c85cSMatt Jacob U8 SASStatus; /* 0Dh */ 1619de3c85cSMatt Jacob U16 IOCStatus; /* 0Eh */ 1629de3c85cSMatt Jacob U32 IOCLogInfo; /* 10h */ 1639de3c85cSMatt Jacob U32 Reserved3; /* 14h */ 1649de3c85cSMatt Jacob U8 ResponseData[4]; /* 18h */ 1659de3c85cSMatt Jacob } MSG_SMP_PASSTHROUGH_REPLY, MPI_POINTER PTR_MSG_SMP_PASSTHROUGH_REPLY, 1669de3c85cSMatt Jacob SmpPassthroughReply_t, MPI_POINTER pSmpPassthroughReply_t; 1679de3c85cSMatt Jacob 1689de3c85cSMatt Jacob #define MPI_SMP_PT_REPLY_PT_FLAGS_IMMEDIATE (0x80) 1699de3c85cSMatt Jacob 1709de3c85cSMatt Jacob 1719de3c85cSMatt Jacob /****************************************************************************/ 1729de3c85cSMatt Jacob /* SATA Passthrough Request */ 1739de3c85cSMatt Jacob /****************************************************************************/ 1749de3c85cSMatt Jacob 1759de3c85cSMatt Jacob typedef struct _MSG_SATA_PASSTHROUGH_REQUEST 1769de3c85cSMatt Jacob { 1779de3c85cSMatt Jacob U8 TargetID; /* 00h */ 1789de3c85cSMatt Jacob U8 Bus; /* 01h */ 1799de3c85cSMatt Jacob U8 ChainOffset; /* 02h */ 1809de3c85cSMatt Jacob U8 Function; /* 03h */ 1819de3c85cSMatt Jacob U16 PassthroughFlags; /* 04h */ 1829de3c85cSMatt Jacob U8 ConnectionRate; /* 06h */ 1839de3c85cSMatt Jacob U8 MsgFlags; /* 07h */ 1849de3c85cSMatt Jacob U32 MsgContext; /* 08h */ 1859de3c85cSMatt Jacob U32 Reserved1; /* 0Ch */ 1869de3c85cSMatt Jacob U32 Reserved2; /* 10h */ 1879de3c85cSMatt Jacob U32 Reserved3; /* 14h */ 1889de3c85cSMatt Jacob U32 DataLength; /* 18h */ 1899de3c85cSMatt Jacob U8 CommandFIS[20]; /* 1Ch */ 1909de3c85cSMatt Jacob SGE_SIMPLE_UNION SGL; /* 30h */ 1919de3c85cSMatt Jacob } MSG_SATA_PASSTHROUGH_REQUEST, MPI_POINTER PTR_MSG_SATA_PASSTHROUGH_REQUEST, 1929de3c85cSMatt Jacob SataPassthroughRequest_t, MPI_POINTER pSataPassthroughRequest_t; 1939de3c85cSMatt Jacob 1949de3c85cSMatt Jacob /* values for PassthroughFlags field */ 1959de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_PT_FLAGS_RESET_DEVICE (0x0200) 1969de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_PT_FLAGS_EXECUTE_DIAG (0x0100) 1979de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_PT_FLAGS_DMA_QUEUED (0x0080) 1989de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_PT_FLAGS_PACKET_COMMAND (0x0040) 1999de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_PT_FLAGS_DMA (0x0020) 2009de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_PT_FLAGS_PIO (0x0010) 2019de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_PT_FLAGS_UNSPECIFIED_VU (0x0004) 2029de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_PT_FLAGS_WRITE (0x0002) 2039de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_PT_FLAGS_READ (0x0001) 2049de3c85cSMatt Jacob 2059de3c85cSMatt Jacob /* values for ConnectionRate field */ 2069de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_CONNECT_RATE_NEGOTIATED (0x00) 2079de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_CONNECT_RATE_1_5 (0x08) 2089de3c85cSMatt Jacob #define MPI_SATA_PT_REQ_CONNECT_RATE_3_0 (0x09) 2099de3c85cSMatt Jacob 2109de3c85cSMatt Jacob 2119de3c85cSMatt Jacob /* SATA Passthrough Reply */ 2129de3c85cSMatt Jacob typedef struct _MSG_SATA_PASSTHROUGH_REPLY 2139de3c85cSMatt Jacob { 2149de3c85cSMatt Jacob U8 TargetID; /* 00h */ 2159de3c85cSMatt Jacob U8 Bus; /* 01h */ 2169de3c85cSMatt Jacob U8 MsgLength; /* 02h */ 2179de3c85cSMatt Jacob U8 Function; /* 03h */ 2189de3c85cSMatt Jacob U16 PassthroughFlags; /* 04h */ 2199de3c85cSMatt Jacob U8 Reserved1; /* 06h */ 2209de3c85cSMatt Jacob U8 MsgFlags; /* 07h */ 2219de3c85cSMatt Jacob U32 MsgContext; /* 08h */ 2229de3c85cSMatt Jacob U8 Reserved2; /* 0Ch */ 2239de3c85cSMatt Jacob U8 SASStatus; /* 0Dh */ 2249de3c85cSMatt Jacob U16 IOCStatus; /* 0Eh */ 2259de3c85cSMatt Jacob U32 IOCLogInfo; /* 10h */ 2269de3c85cSMatt Jacob U8 StatusFIS[20]; /* 14h */ 2279de3c85cSMatt Jacob U32 StatusControlRegisters; /* 28h */ 2289de3c85cSMatt Jacob U32 TransferCount; /* 2Ch */ 2299de3c85cSMatt Jacob } MSG_SATA_PASSTHROUGH_REPLY, MPI_POINTER PTR_MSG_SATA_PASSTHROUGH_REPLY, 2309de3c85cSMatt Jacob SataPassthroughReply_t, MPI_POINTER pSataPassthroughReply_t; 2319de3c85cSMatt Jacob 2329de3c85cSMatt Jacob 2339de3c85cSMatt Jacob 2349de3c85cSMatt Jacob 2359de3c85cSMatt Jacob /****************************************************************************/ 2369de3c85cSMatt Jacob /* SAS IO Unit Control Request */ 2379de3c85cSMatt Jacob /****************************************************************************/ 2389de3c85cSMatt Jacob 2399de3c85cSMatt Jacob typedef struct _MSG_SAS_IOUNIT_CONTROL_REQUEST 2409de3c85cSMatt Jacob { 2419de3c85cSMatt Jacob U8 Operation; /* 00h */ 2429de3c85cSMatt Jacob U8 Reserved1; /* 01h */ 2439de3c85cSMatt Jacob U8 ChainOffset; /* 02h */ 2449de3c85cSMatt Jacob U8 Function; /* 03h */ 24562ae194dSScott Long U16 DevHandle; /* 04h */ 2469de3c85cSMatt Jacob U8 Reserved3; /* 06h */ 2479de3c85cSMatt Jacob U8 MsgFlags; /* 07h */ 2489de3c85cSMatt Jacob U32 MsgContext; /* 08h */ 2499de3c85cSMatt Jacob U8 TargetID; /* 0Ch */ 2509de3c85cSMatt Jacob U8 Bus; /* 0Dh */ 2519de3c85cSMatt Jacob U8 PhyNum; /* 0Eh */ 2520b80d21bSMatt Jacob U8 PrimFlags; /* 0Fh */ 2530b80d21bSMatt Jacob U32 Primitive; /* 10h */ 2549de3c85cSMatt Jacob U64 SASAddress; /* 14h */ 2550b80d21bSMatt Jacob U32 Reserved4; /* 1Ch */ 2569de3c85cSMatt Jacob } MSG_SAS_IOUNIT_CONTROL_REQUEST, MPI_POINTER PTR_MSG_SAS_IOUNIT_CONTROL_REQUEST, 2579de3c85cSMatt Jacob SasIoUnitControlRequest_t, MPI_POINTER pSasIoUnitControlRequest_t; 2589de3c85cSMatt Jacob 2599de3c85cSMatt Jacob /* values for the Operation field */ 2609de3c85cSMatt Jacob #define MPI_SAS_OP_CLEAR_NOT_PRESENT (0x01) 2619de3c85cSMatt Jacob #define MPI_SAS_OP_CLEAR_ALL_PERSISTENT (0x02) 2629de3c85cSMatt Jacob #define MPI_SAS_OP_PHY_LINK_RESET (0x06) 2639de3c85cSMatt Jacob #define MPI_SAS_OP_PHY_HARD_RESET (0x07) 2649de3c85cSMatt Jacob #define MPI_SAS_OP_PHY_CLEAR_ERROR_LOG (0x08) 2659de3c85cSMatt Jacob #define MPI_SAS_OP_MAP_CURRENT (0x09) 2660b80d21bSMatt Jacob #define MPI_SAS_OP_SEND_PRIMITIVE (0x0A) 26762ae194dSScott Long #define MPI_SAS_OP_FORCE_FULL_DISCOVERY (0x0B) 26862ae194dSScott Long #define MPI_SAS_OP_TRANSMIT_PORT_SELECT_SIGNAL (0x0C) 26962ae194dSScott Long #define MPI_SAS_OP_TRANSMIT_REMOVE_DEVICE (0x0D) /* obsolete name */ 27062ae194dSScott Long #define MPI_SAS_OP_REMOVE_DEVICE (0x0D) 2710b80d21bSMatt Jacob 2720b80d21bSMatt Jacob /* values for the PrimFlags field */ 2730b80d21bSMatt Jacob #define MPI_SAS_PRIMFLAGS_SINGLE (0x08) 2740b80d21bSMatt Jacob #define MPI_SAS_PRIMFLAGS_TRIPLE (0x02) 2750b80d21bSMatt Jacob #define MPI_SAS_PRIMFLAGS_REDUNDANT (0x01) 2769de3c85cSMatt Jacob 2779de3c85cSMatt Jacob 2789de3c85cSMatt Jacob /* SAS IO Unit Control Reply */ 2799de3c85cSMatt Jacob typedef struct _MSG_SAS_IOUNIT_CONTROL_REPLY 2809de3c85cSMatt Jacob { 2819de3c85cSMatt Jacob U8 Operation; /* 00h */ 2829de3c85cSMatt Jacob U8 Reserved1; /* 01h */ 2839de3c85cSMatt Jacob U8 MsgLength; /* 02h */ 2849de3c85cSMatt Jacob U8 Function; /* 03h */ 28562ae194dSScott Long U16 DevHandle; /* 04h */ 2869de3c85cSMatt Jacob U8 Reserved3; /* 06h */ 2879de3c85cSMatt Jacob U8 MsgFlags; /* 07h */ 2889de3c85cSMatt Jacob U32 MsgContext; /* 08h */ 2899de3c85cSMatt Jacob U16 Reserved4; /* 0Ch */ 2909de3c85cSMatt Jacob U16 IOCStatus; /* 0Eh */ 2919de3c85cSMatt Jacob U32 IOCLogInfo; /* 10h */ 2929de3c85cSMatt Jacob } MSG_SAS_IOUNIT_CONTROL_REPLY, MPI_POINTER PTR_MSG_SAS_IOUNIT_CONTROL_REPLY, 2939de3c85cSMatt Jacob SasIoUnitControlReply_t, MPI_POINTER pSasIoUnitControlReply_t; 2949de3c85cSMatt Jacob 2959de3c85cSMatt Jacob #endif 2960b80d21bSMatt Jacob 2970b80d21bSMatt Jacob 298