1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2016-2021 Broadcom Inc. All rights reserved.
8 #define MPI3_SAS_DEVICE_INFO_SSP_TARGET (0x00000100)
9 #define MPI3_SAS_DEVICE_INFO_STP_SATA_TARGET (0x00000080)
10 #define MPI3_SAS_DEVICE_INFO_SMP_TARGET (0x00000040)
11 #define MPI3_SAS_DEVICE_INFO_SSP_INITIATOR (0x00000020)
12 #define MPI3_SAS_DEVICE_INFO_STP_INITIATOR (0x00000010)
13 #define MPI3_SAS_DEVICE_INFO_SMP_INITIATOR (0x00000008)
14 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_MASK (0x00000007)
15 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_NO_DEVICE (0x00000000)
16 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_END_DEVICE (0x00000001)
17 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_EXPANDER (0x00000002)
18 struct mpi3_smp_passthrough_request {
22 __le16 ioc_use_only04;
30 struct mpi3_sge_common request_sge;
31 struct mpi3_sge_common response_sge;
34 struct mpi3_smp_passthrough_reply {
38 __le16 ioc_use_only04;
41 __le16 ioc_use_only08;
44 __le16 response_data_length;