0001
0002
0003
0004
0005
0006 #ifndef MPI30_SAS_H
0007 #define MPI30_SAS_H 1
0008 #define MPI3_SAS_DEVICE_INFO_SSP_TARGET (0x00000100)
0009 #define MPI3_SAS_DEVICE_INFO_STP_SATA_TARGET (0x00000080)
0010 #define MPI3_SAS_DEVICE_INFO_SMP_TARGET (0x00000040)
0011 #define MPI3_SAS_DEVICE_INFO_SSP_INITIATOR (0x00000020)
0012 #define MPI3_SAS_DEVICE_INFO_STP_INITIATOR (0x00000010)
0013 #define MPI3_SAS_DEVICE_INFO_SMP_INITIATOR (0x00000008)
0014 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_MASK (0x00000007)
0015 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_NO_DEVICE (0x00000000)
0016 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_END_DEVICE (0x00000001)
0017 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_EXPANDER (0x00000002)
0018 struct mpi3_smp_passthrough_request {
0019 __le16 host_tag;
0020 u8 ioc_use_only02;
0021 u8 function;
0022 __le16 ioc_use_only04;
0023 u8 ioc_use_only06;
0024 u8 msg_flags;
0025 __le16 change_count;
0026 u8 reserved0a;
0027 u8 io_unit_port;
0028 __le32 reserved0c[3];
0029 __le64 sas_address;
0030 struct mpi3_sge_common request_sge;
0031 struct mpi3_sge_common response_sge;
0032 };
0033
0034 struct mpi3_smp_passthrough_reply {
0035 __le16 host_tag;
0036 u8 ioc_use_only02;
0037 u8 function;
0038 __le16 ioc_use_only04;
0039 u8 ioc_use_only06;
0040 u8 msg_flags;
0041 __le16 ioc_use_only08;
0042 __le16 ioc_status;
0043 __le32 ioc_log_info;
0044 __le16 response_data_length;
0045 __le16 reserved12;
0046 };
0047 #endif