diff options
Diffstat (limited to 'drivers/scsi/bfa/bfi_ms.h')
-rw-r--r-- | drivers/scsi/bfa/bfi_ms.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfi_ms.h b/drivers/scsi/bfa/bfi_ms.h index 263631dcfa7c..c665a800c41d 100644 --- a/drivers/scsi/bfa/bfi_ms.h +++ b/drivers/scsi/bfa/bfi_ms.h | |||
@@ -28,11 +28,17 @@ enum bfi_iocfc_h2i_msgs { | |||
28 | BFI_IOCFC_H2I_CFG_REQ = 1, | 28 | BFI_IOCFC_H2I_CFG_REQ = 1, |
29 | BFI_IOCFC_H2I_SET_INTR_REQ = 2, | 29 | BFI_IOCFC_H2I_SET_INTR_REQ = 2, |
30 | BFI_IOCFC_H2I_UPDATEQ_REQ = 3, | 30 | BFI_IOCFC_H2I_UPDATEQ_REQ = 3, |
31 | BFI_IOCFC_H2I_FAA_ENABLE_REQ = 4, | ||
32 | BFI_IOCFC_H2I_FAA_DISABLE_REQ = 5, | ||
33 | BFI_IOCFC_H2I_FAA_QUERY_REQ = 6, | ||
31 | }; | 34 | }; |
32 | 35 | ||
33 | enum bfi_iocfc_i2h_msgs { | 36 | enum bfi_iocfc_i2h_msgs { |
34 | BFI_IOCFC_I2H_CFG_REPLY = BFA_I2HM(1), | 37 | BFI_IOCFC_I2H_CFG_REPLY = BFA_I2HM(1), |
35 | BFI_IOCFC_I2H_UPDATEQ_RSP = BFA_I2HM(3), | 38 | BFI_IOCFC_I2H_UPDATEQ_RSP = BFA_I2HM(3), |
39 | BFI_IOCFC_I2H_FAA_ENABLE_RSP = BFA_I2HM(4), | ||
40 | BFI_IOCFC_I2H_FAA_DISABLE_RSP = BFA_I2HM(5), | ||
41 | BFI_IOCFC_I2H_FAA_QUERY_RSP = BFA_I2HM(6), | ||
36 | }; | 42 | }; |
37 | 43 | ||
38 | struct bfi_iocfc_cfg_s { | 44 | struct bfi_iocfc_cfg_s { |
@@ -166,6 +172,37 @@ union bfi_iocfc_i2h_msg_u { | |||
166 | u32 mboxmsg[BFI_IOC_MSGSZ]; | 172 | u32 mboxmsg[BFI_IOC_MSGSZ]; |
167 | }; | 173 | }; |
168 | 174 | ||
175 | /* | ||
176 | * BFI_IOCFC_H2I_FAA_ENABLE_REQ BFI_IOCFC_H2I_FAA_DISABLE_REQ message | ||
177 | */ | ||
178 | struct bfi_faa_en_dis_s { | ||
179 | struct bfi_mhdr_s mh; /* common msg header */ | ||
180 | }; | ||
181 | |||
182 | /* | ||
183 | * BFI_IOCFC_H2I_FAA_QUERY_REQ message | ||
184 | */ | ||
185 | struct bfi_faa_query_s { | ||
186 | struct bfi_mhdr_s mh; /* common msg header */ | ||
187 | u8 faa_status; /* FAA status */ | ||
188 | u8 addr_source; /* PWWN source */ | ||
189 | u8 rsvd[2]; | ||
190 | wwn_t faa; /* Fabric acquired PWWN */ | ||
191 | }; | ||
192 | |||
193 | /* | ||
194 | * BFI_IOCFC_I2H_FAA_ENABLE_RSP, BFI_IOCFC_I2H_FAA_DISABLE_RSP message | ||
195 | */ | ||
196 | struct bfi_faa_en_dis_rsp_s { | ||
197 | struct bfi_mhdr_s mh; /* common msg header */ | ||
198 | u8 status; /* updateq status */ | ||
199 | u8 rsvd[3]; | ||
200 | }; | ||
201 | |||
202 | /* | ||
203 | * BFI_IOCFC_I2H_FAA_QUERY_RSP message | ||
204 | */ | ||
205 | #define bfi_faa_query_rsp_t struct bfi_faa_query_s | ||
169 | 206 | ||
170 | enum bfi_fcport_h2i { | 207 | enum bfi_fcport_h2i { |
171 | BFI_FCPORT_H2I_ENABLE_REQ = (1), | 208 | BFI_FCPORT_H2I_ENABLE_REQ = (1), |