diff options
Diffstat (limited to 'drivers/scsi/bfa/bfad_bsg.h')
-rw-r--r-- | drivers/scsi/bfa/bfad_bsg.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfad_bsg.h b/drivers/scsi/bfa/bfad_bsg.h index e0e90f031ff7..a4dcb39883e7 100644 --- a/drivers/scsi/bfa/bfad_bsg.h +++ b/drivers/scsi/bfa/bfad_bsg.h | |||
@@ -31,6 +31,20 @@ enum { | |||
31 | IOCMD_RPORT_GET_ADDR, | 31 | IOCMD_RPORT_GET_ADDR, |
32 | IOCMD_FABRIC_GET_LPORTS, | 32 | IOCMD_FABRIC_GET_LPORTS, |
33 | IOCMD_ITNIM_GET_ATTR, | 33 | IOCMD_ITNIM_GET_ATTR, |
34 | IOCMD_IOC_PCIFN_CFG, | ||
35 | IOCMD_PCIFN_CREATE, | ||
36 | IOCMD_PCIFN_DELETE, | ||
37 | IOCMD_PCIFN_BW, | ||
38 | IOCMD_ADAPTER_CFG_MODE, | ||
39 | IOCMD_PORT_CFG_MODE, | ||
40 | IOCMD_FLASH_ENABLE_OPTROM, | ||
41 | IOCMD_FLASH_DISABLE_OPTROM, | ||
42 | }; | ||
43 | |||
44 | struct bfa_bsg_gen_s { | ||
45 | bfa_status_t status; | ||
46 | u16 bfad_num; | ||
47 | u16 rsvd; | ||
34 | }; | 48 | }; |
35 | 49 | ||
36 | struct bfa_bsg_ioc_info_s { | 50 | struct bfa_bsg_ioc_info_s { |
@@ -111,6 +125,37 @@ struct bfa_bsg_itnim_attr_s { | |||
111 | struct bfa_itnim_attr_s attr; | 125 | struct bfa_itnim_attr_s attr; |
112 | }; | 126 | }; |
113 | 127 | ||
128 | struct bfa_bsg_pcifn_cfg_s { | ||
129 | bfa_status_t status; | ||
130 | u16 bfad_num; | ||
131 | u16 rsvd; | ||
132 | struct bfa_ablk_cfg_s pcifn_cfg; | ||
133 | }; | ||
134 | |||
135 | struct bfa_bsg_pcifn_s { | ||
136 | bfa_status_t status; | ||
137 | u16 bfad_num; | ||
138 | u16 pcifn_id; | ||
139 | u32 bandwidth; | ||
140 | u8 port; | ||
141 | enum bfi_pcifn_class pcifn_class; | ||
142 | u8 rsvd[1]; | ||
143 | }; | ||
144 | |||
145 | struct bfa_bsg_adapter_cfg_mode_s { | ||
146 | bfa_status_t status; | ||
147 | u16 bfad_num; | ||
148 | u16 rsvd; | ||
149 | struct bfa_adapter_cfg_mode_s cfg; | ||
150 | }; | ||
151 | |||
152 | struct bfa_bsg_port_cfg_mode_s { | ||
153 | bfa_status_t status; | ||
154 | u16 bfad_num; | ||
155 | u16 instance; | ||
156 | struct bfa_port_cfg_mode_s cfg; | ||
157 | }; | ||
158 | |||
114 | struct bfa_bsg_fcpt_s { | 159 | struct bfa_bsg_fcpt_s { |
115 | bfa_status_t status; | 160 | bfa_status_t status; |
116 | u16 vf_id; | 161 | u16 vf_id; |