19b631363SMatt Jacob /* $FreeBSD$ */ 29b631363SMatt Jacob /* 39b631363SMatt Jacob * Copyright (c) 2000-2001 LSI Logic Corporation. 49b631363SMatt Jacob * 59b631363SMatt Jacob * 69b631363SMatt Jacob * Name: MPI_INIT.H 79b631363SMatt Jacob * Title: MPI initiator mode messages and structures 89b631363SMatt Jacob * Creation Date: June 8, 2000 99b631363SMatt Jacob * 109b631363SMatt Jacob * MPI Version: 01.02.04 119b631363SMatt Jacob * 129b631363SMatt Jacob * Version History 139b631363SMatt Jacob * --------------- 149b631363SMatt Jacob * 159b631363SMatt Jacob * Date Version Description 169b631363SMatt Jacob * -------- -------- ------------------------------------------------------ 179b631363SMatt Jacob * 05-08-00 00.10.01 Original release for 0.10 spec dated 4/26/2000. 189b631363SMatt Jacob * 05-24-00 00.10.02 Added SenseBufferLength to _MSG_SCSI_IO_REPLY. 199b631363SMatt Jacob * 06-06-00 01.00.01 Update version number for 1.0 release. 209b631363SMatt Jacob * 06-08-00 01.00.02 Added MPI_SCSI_RSP_INFO_ definitions. 219b631363SMatt Jacob * 11-02-00 01.01.01 Original release for post 1.0 work. 229b631363SMatt Jacob * 12-04-00 01.01.02 Added MPI_SCSIIO_CONTROL_NO_DISCONNECT. 239b631363SMatt Jacob * 02-20-01 01.01.03 Started using MPI_POINTER. 249b631363SMatt Jacob * 03-27-01 01.01.04 Added structure offset comments. 259b631363SMatt Jacob * 04-10-01 01.01.05 Added new MsgFlag for MSG_SCSI_TASK_MGMT. 269b631363SMatt Jacob * 08-08-01 01.02.01 Original release for v1.2 work. 279b631363SMatt Jacob * 08-29-01 01.02.02 Added MPI_SCSITASKMGMT_TASKTYPE_LOGICAL_UNIT_RESET. 289b631363SMatt Jacob * Added MPI_SCSI_STATE_QUEUE_TAG_REJECTED for 299b631363SMatt Jacob * MSG_SCSI_IO_REPLY. 309b631363SMatt Jacob * 09-28-01 01.02.03 Added structures and defines for SCSI Enclosure 319b631363SMatt Jacob * Processor messages. 329b631363SMatt Jacob * 10-04-01 01.02.04 Added defines for SEP request Action field. 339b631363SMatt Jacob * -------------------------------------------------------------------------- 349b631363SMatt Jacob */ 359b631363SMatt Jacob 369b631363SMatt Jacob #ifndef MPI_INIT_H 379b631363SMatt Jacob #define MPI_INIT_H 389b631363SMatt Jacob 399b631363SMatt Jacob 409b631363SMatt Jacob /***************************************************************************** 419b631363SMatt Jacob * 429b631363SMatt Jacob * S C S I I n i t i a t o r M e s s a g e s 439b631363SMatt Jacob * 449b631363SMatt Jacob *****************************************************************************/ 459b631363SMatt Jacob 469b631363SMatt Jacob /****************************************************************************/ 479b631363SMatt Jacob /* SCSI IO messages and assocaited structures */ 489b631363SMatt Jacob /****************************************************************************/ 499b631363SMatt Jacob 509b631363SMatt Jacob typedef struct _MSG_SCSI_IO_REQUEST 519b631363SMatt Jacob { 529b631363SMatt Jacob U8 TargetID; /* 00h */ 539b631363SMatt Jacob U8 Bus; /* 01h */ 549b631363SMatt Jacob U8 ChainOffset; /* 02h */ 559b631363SMatt Jacob U8 Function; /* 03h */ 569b631363SMatt Jacob U8 CDBLength; /* 04h */ 579b631363SMatt Jacob U8 SenseBufferLength; /* 05h */ 589b631363SMatt Jacob U8 Reserved; /* 06h */ 599b631363SMatt Jacob U8 MsgFlags; /* 07h */ 609b631363SMatt Jacob U32 MsgContext; /* 08h */ 619b631363SMatt Jacob U8 LUN[8]; /* 0Ch */ 629b631363SMatt Jacob U32 Control; /* 14h */ 639b631363SMatt Jacob U8 CDB[16]; /* 18h */ 649b631363SMatt Jacob U32 DataLength; /* 28h */ 659b631363SMatt Jacob U32 SenseBufferLowAddr; /* 2Ch */ 669b631363SMatt Jacob SGE_IO_UNION SGL; /* 30h */ 679b631363SMatt Jacob } MSG_SCSI_IO_REQUEST, MPI_POINTER PTR_MSG_SCSI_IO_REQUEST, 689b631363SMatt Jacob SCSIIORequest_t, MPI_POINTER pSCSIIORequest_t; 699b631363SMatt Jacob 709b631363SMatt Jacob 719b631363SMatt Jacob /* SCSIO MsgFlags bits */ 729b631363SMatt Jacob 739b631363SMatt Jacob #define MPI_SCSIIO_MSGFLGS_SENSE_WIDTH (0x01) 749b631363SMatt Jacob #define MPI_SCSIIO_MSGFLGS_SENSE_WIDTH_32 (0x00) 759b631363SMatt Jacob #define MPI_SCSIIO_MSGFLGS_SENSE_WIDTH_64 (0x01) 769b631363SMatt Jacob #define MPI_SCSIIO_MSGFLGS_SENSE_LOCATION (0x02) 779b631363SMatt Jacob #define MPI_SCSIIO_MSGFLGS_SENSE_LOC_HOST (0x00) 789b631363SMatt Jacob #define MPI_SCSIIO_MSGFLGS_SENSE_LOC_IOC (0x02) 799b631363SMatt Jacob 809b631363SMatt Jacob /* SCSIIO LUN fields */ 819b631363SMatt Jacob 829b631363SMatt Jacob #define MPI_SCSIIO_LUN_FIRST_LEVEL_ADDRESSING (0x0000FFFF) 839b631363SMatt Jacob #define MPI_SCSIIO_LUN_SECOND_LEVEL_ADDRESSING (0xFFFF0000) 849b631363SMatt Jacob #define MPI_SCSIIO_LUN_THIRD_LEVEL_ADDRESSING (0x0000FFFF) 859b631363SMatt Jacob #define MPI_SCSIIO_LUN_FOURTH_LEVEL_ADDRESSING (0xFFFF0000) 869b631363SMatt Jacob #define MPI_SCSIIO_LUN_LEVEL_1_WORD (0xFF00) 879b631363SMatt Jacob #define MPI_SCSIIO_LUN_LEVEL_1_DWORD (0x0000FF00) 889b631363SMatt Jacob 899b631363SMatt Jacob /* SCSIO Control bits */ 909b631363SMatt Jacob 919b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_DATADIRECTION_MASK (0x03000000) 929b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_NODATATRANSFER (0x00000000) 939b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_WRITE (0x01000000) 949b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_READ (0x02000000) 959b631363SMatt Jacob 969b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_ADDCDBLEN_MASK (0x3C000000) 979b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_ADDCDBLEN_SHIFT (26) 989b631363SMatt Jacob 999b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_TASKATTRIBUTE_MASK (0x00000700) 1009b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_SIMPLEQ (0x00000000) 1019b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_HEADOFQ (0x00000100) 1029b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_ORDEREDQ (0x00000200) 1039b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_ACAQ (0x00000400) 1049b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_UNTAGGED (0x00000500) 1059b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_NO_DISCONNECT (0x00000700) 1069b631363SMatt Jacob 1079b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_TASKMANAGE_MASK (0x00FF0000) 1089b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_OBSOLETE (0x00800000) 1099b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_CLEAR_ACA_RSV (0x00400000) 1109b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_TARGET_RESET (0x00200000) 1119b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_LUN_RESET_RSV (0x00100000) 1129b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_RESERVED (0x00080000) 1139b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_CLR_TASK_SET_RSV (0x00040000) 1149b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_ABORT_TASK_SET (0x00020000) 1159b631363SMatt Jacob #define MPI_SCSIIO_CONTROL_RESERVED2 (0x00010000) 1169b631363SMatt Jacob 1179b631363SMatt Jacob 1189b631363SMatt Jacob /* SCSIIO reply structure */ 1199b631363SMatt Jacob typedef struct _MSG_SCSI_IO_REPLY 1209b631363SMatt Jacob { 1219b631363SMatt Jacob U8 TargetID; /* 00h */ 1229b631363SMatt Jacob U8 Bus; /* 01h */ 1239b631363SMatt Jacob U8 MsgLength; /* 02h */ 1249b631363SMatt Jacob U8 Function; /* 03h */ 1259b631363SMatt Jacob U8 CDBLength; /* 04h */ 1269b631363SMatt Jacob U8 SenseBufferLength; /* 05h */ 1279b631363SMatt Jacob U8 Reserved; /* 06h */ 1289b631363SMatt Jacob U8 MsgFlags; /* 07h */ 1299b631363SMatt Jacob U32 MsgContext; /* 08h */ 1309b631363SMatt Jacob U8 SCSIStatus; /* 0Ch */ 1319b631363SMatt Jacob U8 SCSIState; /* 0Dh */ 1329b631363SMatt Jacob U16 IOCStatus; /* 0Eh */ 1339b631363SMatt Jacob U32 IOCLogInfo; /* 10h */ 1349b631363SMatt Jacob U32 TransferCount; /* 14h */ 1359b631363SMatt Jacob U32 SenseCount; /* 18h */ 1369b631363SMatt Jacob U32 ResponseInfo; /* 1Ch */ 1379b631363SMatt Jacob } MSG_SCSI_IO_REPLY, MPI_POINTER PTR_MSG_SCSI_IO_REPLY, 1389b631363SMatt Jacob SCSIIOReply_t, MPI_POINTER pSCSIIOReply_t; 1399b631363SMatt Jacob 1409b631363SMatt Jacob 1419b631363SMatt Jacob /* SCSIIO Reply SCSIStatus values (SAM-2 status codes) */ 1429b631363SMatt Jacob 1439b631363SMatt Jacob #define MPI_SCSI_STATUS_SUCCESS (0x00) 1449b631363SMatt Jacob #define MPI_SCSI_STATUS_CHECK_CONDITION (0x02) 1459b631363SMatt Jacob #define MPI_SCSI_STATUS_CONDITION_MET (0x04) 1469b631363SMatt Jacob #define MPI_SCSI_STATUS_BUSY (0x08) 1479b631363SMatt Jacob #define MPI_SCSI_STATUS_INTERMEDIATE (0x10) 1489b631363SMatt Jacob #define MPI_SCSI_STATUS_INTERMEDIATE_CONDMET (0x14) 1499b631363SMatt Jacob #define MPI_SCSI_STATUS_RESERVATION_CONFLICT (0x18) 1509b631363SMatt Jacob #define MPI_SCSI_STATUS_COMMAND_TERMINATED (0x22) 1519b631363SMatt Jacob #define MPI_SCSI_STATUS_TASK_SET_FULL (0x28) 1529b631363SMatt Jacob #define MPI_SCSI_STATUS_ACA_ACTIVE (0x30) 1539b631363SMatt Jacob 1549b631363SMatt Jacob 1559b631363SMatt Jacob /* SCSIIO Reply SCSIState values */ 1569b631363SMatt Jacob 1579b631363SMatt Jacob #define MPI_SCSI_STATE_AUTOSENSE_VALID (0x01) 1589b631363SMatt Jacob #define MPI_SCSI_STATE_AUTOSENSE_FAILED (0x02) 1599b631363SMatt Jacob #define MPI_SCSI_STATE_NO_SCSI_STATUS (0x04) 1609b631363SMatt Jacob #define MPI_SCSI_STATE_TERMINATED (0x08) 1619b631363SMatt Jacob #define MPI_SCSI_STATE_RESPONSE_INFO_VALID (0x10) 1629b631363SMatt Jacob #define MPI_SCSI_STATE_QUEUE_TAG_REJECTED (0x20) 1639b631363SMatt Jacob 1649b631363SMatt Jacob /* SCSIIO Reply ResponseInfo values */ 1659b631363SMatt Jacob /* (FCP-1 RSP_CODE values and SPI-3 Packetized Failure codes) */ 1669b631363SMatt Jacob 1679b631363SMatt Jacob #define MPI_SCSI_RSP_INFO_FUNCTION_COMPLETE (0x00000000) 1689b631363SMatt Jacob #define MPI_SCSI_RSP_INFO_FCP_BURST_LEN_ERROR (0x01000000) 1699b631363SMatt Jacob #define MPI_SCSI_RSP_INFO_CMND_FIELDS_INVALID (0x02000000) 1709b631363SMatt Jacob #define MPI_SCSI_RSP_INFO_FCP_DATA_RO_ERROR (0x03000000) 1719b631363SMatt Jacob #define MPI_SCSI_RSP_INFO_TASK_MGMT_UNSUPPORTED (0x04000000) 1729b631363SMatt Jacob #define MPI_SCSI_RSP_INFO_TASK_MGMT_FAILED (0x05000000) 1739b631363SMatt Jacob #define MPI_SCSI_RSP_INFO_SPI_LQ_INVALID_TYPE (0x06000000) 1749b631363SMatt Jacob 1759b631363SMatt Jacob 1769b631363SMatt Jacob /****************************************************************************/ 1779b631363SMatt Jacob /* SCSI Task Management messages */ 1789b631363SMatt Jacob /****************************************************************************/ 1799b631363SMatt Jacob 1809b631363SMatt Jacob typedef struct _MSG_SCSI_TASK_MGMT 1819b631363SMatt Jacob { 1829b631363SMatt Jacob U8 TargetID; /* 00h */ 1839b631363SMatt Jacob U8 Bus; /* 01h */ 1849b631363SMatt Jacob U8 ChainOffset; /* 02h */ 1859b631363SMatt Jacob U8 Function; /* 03h */ 1869b631363SMatt Jacob U8 Reserved; /* 04h */ 1879b631363SMatt Jacob U8 TaskType; /* 05h */ 1889b631363SMatt Jacob U8 Reserved1; /* 06h */ 1899b631363SMatt Jacob U8 MsgFlags; /* 07h */ 1909b631363SMatt Jacob U32 MsgContext; /* 08h */ 1919b631363SMatt Jacob U8 LUN[8]; /* 0Ch */ 1929b631363SMatt Jacob U32 Reserved2[7]; /* 14h */ 1939b631363SMatt Jacob U32 TaskMsgContext; /* 30h */ 1949b631363SMatt Jacob } MSG_SCSI_TASK_MGMT, MPI_POINTER PTR_SCSI_TASK_MGMT, 1959b631363SMatt Jacob SCSITaskMgmt_t, MPI_POINTER pSCSITaskMgmt_t; 1969b631363SMatt Jacob 1979b631363SMatt Jacob /* TaskType values */ 1989b631363SMatt Jacob 1999b631363SMatt Jacob #define MPI_SCSITASKMGMT_TASKTYPE_ABORT_TASK (0x01) 2009b631363SMatt Jacob #define MPI_SCSITASKMGMT_TASKTYPE_ABRT_TASK_SET (0x02) 2019b631363SMatt Jacob #define MPI_SCSITASKMGMT_TASKTYPE_TARGET_RESET (0x03) 2029b631363SMatt Jacob #define MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS (0x04) 2039b631363SMatt Jacob #define MPI_SCSITASKMGMT_TASKTYPE_LOGICAL_UNIT_RESET (0x05) 2049b631363SMatt Jacob 2059b631363SMatt Jacob /* MsgFlags bits */ 2069b631363SMatt Jacob #define MPI_SCSITASKMGMT_MSGFLAGS_TARGET_RESET_OPTION (0x00) 2079b631363SMatt Jacob #define MPI_SCSITASKMGMT_MSGFLAGS_LIP_RESET_OPTION (0x02) 2089b631363SMatt Jacob #define MPI_SCSITASKMGMT_MSGFLAGS_LIPRESET_RESET_OPTION (0x04) 2099b631363SMatt Jacob 2109b631363SMatt Jacob /* SCSI Task Management Reply */ 2119b631363SMatt Jacob typedef struct _MSG_SCSI_TASK_MGMT_REPLY 2129b631363SMatt Jacob { 2139b631363SMatt Jacob U8 TargetID; /* 00h */ 2149b631363SMatt Jacob U8 Bus; /* 01h */ 2159b631363SMatt Jacob U8 MsgLength; /* 02h */ 2169b631363SMatt Jacob U8 Function; /* 03h */ 2179b631363SMatt Jacob U8 Reserved; /* 04h */ 2189b631363SMatt Jacob U8 TaskType; /* 05h */ 2199b631363SMatt Jacob U8 Reserved1; /* 06h */ 2209b631363SMatt Jacob U8 MsgFlags; /* 07h */ 2219b631363SMatt Jacob U32 MsgContext; /* 08h */ 2229b631363SMatt Jacob U8 Reserved2[2]; /* 0Ch */ 2239b631363SMatt Jacob U16 IOCStatus; /* 0Eh */ 2249b631363SMatt Jacob U32 IOCLogInfo; /* 10h */ 2259b631363SMatt Jacob U32 TerminationCount; /* 14h */ 2269b631363SMatt Jacob } MSG_SCSI_TASK_MGMT_REPLY, MPI_POINTER PTR_MSG_SCSI_TASK_MGMT_REPLY, 2279b631363SMatt Jacob SCSITaskMgmtReply_t, MPI_POINTER pSCSITaskMgmtReply_t; 2289b631363SMatt Jacob 2299b631363SMatt Jacob 2309b631363SMatt Jacob /****************************************************************************/ 2319b631363SMatt Jacob /* SCSI Enclosure Processor messages */ 2329b631363SMatt Jacob /****************************************************************************/ 2339b631363SMatt Jacob 2349b631363SMatt Jacob typedef struct _MSG_SEP_REQUEST 2359b631363SMatt Jacob { 2369b631363SMatt Jacob U8 TargetID; /* 00h */ 2379b631363SMatt Jacob U8 Bus; /* 01h */ 2389b631363SMatt Jacob U8 ChainOffset; /* 02h */ 2399b631363SMatt Jacob U8 Function; /* 03h */ 2409b631363SMatt Jacob U8 Action; /* 04h */ 2419b631363SMatt Jacob U8 Reserved1; /* 05h */ 2429b631363SMatt Jacob U8 Reserved2; /* 06h */ 2439b631363SMatt Jacob U8 MsgFlags; /* 07h */ 2449b631363SMatt Jacob U32 MsgContext; /* 08h */ 2459b631363SMatt Jacob U32 SlotStatus; /* 0Ch */ 2469b631363SMatt Jacob } MSG_SEP_REQUEST, MPI_POINTER PTR_MSG_SEP_REQUEST, 2479b631363SMatt Jacob SEPRequest_t, MPI_POINTER pSEPRequest_t; 2489b631363SMatt Jacob 2499b631363SMatt Jacob /* Action defines */ 2509b631363SMatt Jacob #define MPI_SEP_REQ_ACTION_WRITE_STATUS (0x00) 2519b631363SMatt Jacob #define MPI_SEP_REQ_ACTION_READ_STATUS (0x01) 2529b631363SMatt Jacob 2539b631363SMatt Jacob /* SlotStatus bits for MSG_SEP_REQUEST */ 2549b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_NO_ERROR (0x00000001) 2559b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_DEV_FAULTY (0x00000002) 2569b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_DEV_REBUILDING (0x00000004) 2579b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_IN_FAILED_ARRAY (0x00000008) 2589b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_IN_CRITICAL_ARRAY (0x00000010) 2599b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_PARITY_CHECK (0x00000020) 2609b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_PREDICTED_FAULT (0x00000040) 2619b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_UNCONFIGURED (0x00000080) 2629b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_HOT_SPARE (0x00000100) 2639b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_REBUILD_STOPPED (0x00000200) 2649b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_IDENTIFY_REQUEST (0x00020000) 2659b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_REQUEST_REMOVE (0x00040000) 2669b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_REQUEST_INSERT (0x00080000) 2679b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_DO_NOT_MOVE (0x00400000) 2689b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_B_ENABLE_BYPASS (0x04000000) 2699b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_A_ENABLE_BYPASS (0x08000000) 2709b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_DEV_OFF (0x10000000) 2719b631363SMatt Jacob #define MPI_SEP_REQ_SLOTSTATUS_SWAP_RESET (0x80000000) 2729b631363SMatt Jacob 2739b631363SMatt Jacob 2749b631363SMatt Jacob typedef struct _MSG_SEP_REPLY 2759b631363SMatt Jacob { 2769b631363SMatt Jacob U8 TargetID; /* 00h */ 2779b631363SMatt Jacob U8 Bus; /* 01h */ 2789b631363SMatt Jacob U8 MsgLength; /* 02h */ 2799b631363SMatt Jacob U8 Function; /* 03h */ 2809b631363SMatt Jacob U8 Action; /* 04h */ 2819b631363SMatt Jacob U8 Reserved1; /* 05h */ 2829b631363SMatt Jacob U8 Reserved2; /* 06h */ 2839b631363SMatt Jacob U8 MsgFlags; /* 07h */ 2849b631363SMatt Jacob U32 MsgContext; /* 08h */ 2859b631363SMatt Jacob U16 Reserved3; /* 0Ch */ 2869b631363SMatt Jacob U16 IOCStatus; /* 0Eh */ 2879b631363SMatt Jacob U32 IOCLogInfo; /* 10h */ 2889b631363SMatt Jacob U32 SlotStatus; /* 14h */ 2899b631363SMatt Jacob } MSG_SEP_REPLY, MPI_POINTER PTR_MSG_SEP_REPLY, 2909b631363SMatt Jacob SEPReply_t, MPI_POINTER pSEPReply_t; 2919b631363SMatt Jacob 2929b631363SMatt Jacob /* SlotStatus bits for MSG_SEP_REPLY */ 2939b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_NO_ERROR (0x00000001) 2949b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_DEV_FAULTY (0x00000002) 2959b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_DEV_REBUILDING (0x00000004) 2969b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_IN_FAILED_ARRAY (0x00000008) 2979b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_IN_CRITICAL_ARRAY (0x00000010) 2989b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_PARITY_CHECK (0x00000020) 2999b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_PREDICTED_FAULT (0x00000040) 3009b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_UNCONFIGURED (0x00000080) 3019b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_HOT_SPARE (0x00000100) 3029b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_REBUILD_STOPPED (0x00000200) 3039b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_REPORT (0x00010000) 3049b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_IDENTIFY_REQUEST (0x00020000) 3059b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_REMOVE_READY (0x00040000) 3069b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_INSERT_READY (0x00080000) 3079b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_DO_NOT_REMOVE (0x00400000) 3089b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_B_BYPASS_ENABLED (0x01000000) 3099b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_A_BYPASS_ENABLED (0x02000000) 3109b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_B_ENABLE_BYPASS (0x04000000) 3119b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_A_ENABLE_BYPASS (0x08000000) 3129b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_DEV_OFF (0x10000000) 3139b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_FAULT_SENSED (0x40000000) 3149b631363SMatt Jacob #define MPI_SEP_REPLY_SLOTSTATUS_SWAPPED (0x80000000) 3159b631363SMatt Jacob 3169b631363SMatt Jacob #endif 317