diff options
Diffstat (limited to 'drivers/scsi/bfa/bfi_ms.h')
-rw-r--r-- | drivers/scsi/bfa/bfi_ms.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/drivers/scsi/bfa/bfi_ms.h b/drivers/scsi/bfa/bfi_ms.h index 69ac85f9e938..fa9f6fb9d45b 100644 --- a/drivers/scsi/bfa/bfi_ms.h +++ b/drivers/scsi/bfa/bfi_ms.h | |||
@@ -41,7 +41,7 @@ struct bfi_iocfc_cfg_s { | |||
41 | u16 rsvd_1; | 41 | u16 rsvd_1; |
42 | u32 endian_sig; /* endian signature of host */ | 42 | u32 endian_sig; /* endian signature of host */ |
43 | 43 | ||
44 | /** | 44 | /* |
45 | * Request and response circular queue base addresses, size and | 45 | * Request and response circular queue base addresses, size and |
46 | * shadow index pointers. | 46 | * shadow index pointers. |
47 | */ | 47 | */ |
@@ -58,7 +58,7 @@ struct bfi_iocfc_cfg_s { | |||
58 | struct bfa_iocfc_intr_attr_s intr_attr; /* IOC interrupt attributes */ | 58 | struct bfa_iocfc_intr_attr_s intr_attr; /* IOC interrupt attributes */ |
59 | }; | 59 | }; |
60 | 60 | ||
61 | /** | 61 | /* |
62 | * Boot target wwn information for this port. This contains either the stored | 62 | * Boot target wwn information for this port. This contains either the stored |
63 | * or discovered boot target port wwns for the port. | 63 | * or discovered boot target port wwns for the port. |
64 | */ | 64 | */ |
@@ -75,7 +75,7 @@ struct bfi_iocfc_cfgrsp_s { | |||
75 | struct bfi_pbc_s pbc_cfg; | 75 | struct bfi_pbc_s pbc_cfg; |
76 | }; | 76 | }; |
77 | 77 | ||
78 | /** | 78 | /* |
79 | * BFI_IOCFC_H2I_CFG_REQ message | 79 | * BFI_IOCFC_H2I_CFG_REQ message |
80 | */ | 80 | */ |
81 | struct bfi_iocfc_cfg_req_s { | 81 | struct bfi_iocfc_cfg_req_s { |
@@ -84,7 +84,7 @@ struct bfi_iocfc_cfg_req_s { | |||
84 | }; | 84 | }; |
85 | 85 | ||
86 | 86 | ||
87 | /** | 87 | /* |
88 | * BFI_IOCFC_I2H_CFG_REPLY message | 88 | * BFI_IOCFC_I2H_CFG_REPLY message |
89 | */ | 89 | */ |
90 | struct bfi_iocfc_cfg_reply_s { | 90 | struct bfi_iocfc_cfg_reply_s { |
@@ -95,7 +95,7 @@ struct bfi_iocfc_cfg_reply_s { | |||
95 | }; | 95 | }; |
96 | 96 | ||
97 | 97 | ||
98 | /** | 98 | /* |
99 | * BFI_IOCFC_H2I_SET_INTR_REQ message | 99 | * BFI_IOCFC_H2I_SET_INTR_REQ message |
100 | */ | 100 | */ |
101 | struct bfi_iocfc_set_intr_req_s { | 101 | struct bfi_iocfc_set_intr_req_s { |
@@ -107,7 +107,7 @@ struct bfi_iocfc_set_intr_req_s { | |||
107 | }; | 107 | }; |
108 | 108 | ||
109 | 109 | ||
110 | /** | 110 | /* |
111 | * BFI_IOCFC_H2I_UPDATEQ_REQ message | 111 | * BFI_IOCFC_H2I_UPDATEQ_REQ message |
112 | */ | 112 | */ |
113 | struct bfi_iocfc_updateq_req_s { | 113 | struct bfi_iocfc_updateq_req_s { |
@@ -119,7 +119,7 @@ struct bfi_iocfc_updateq_req_s { | |||
119 | }; | 119 | }; |
120 | 120 | ||
121 | 121 | ||
122 | /** | 122 | /* |
123 | * BFI_IOCFC_I2H_UPDATEQ_RSP message | 123 | * BFI_IOCFC_I2H_UPDATEQ_RSP message |
124 | */ | 124 | */ |
125 | struct bfi_iocfc_updateq_rsp_s { | 125 | struct bfi_iocfc_updateq_rsp_s { |
@@ -129,7 +129,7 @@ struct bfi_iocfc_updateq_rsp_s { | |||
129 | }; | 129 | }; |
130 | 130 | ||
131 | 131 | ||
132 | /** | 132 | /* |
133 | * H2I Messages | 133 | * H2I Messages |
134 | */ | 134 | */ |
135 | union bfi_iocfc_h2i_msg_u { | 135 | union bfi_iocfc_h2i_msg_u { |
@@ -140,7 +140,7 @@ union bfi_iocfc_h2i_msg_u { | |||
140 | }; | 140 | }; |
141 | 141 | ||
142 | 142 | ||
143 | /** | 143 | /* |
144 | * I2H Messages | 144 | * I2H Messages |
145 | */ | 145 | */ |
146 | union bfi_iocfc_i2h_msg_u { | 146 | union bfi_iocfc_i2h_msg_u { |
@@ -173,7 +173,7 @@ enum bfi_fcport_i2h { | |||
173 | }; | 173 | }; |
174 | 174 | ||
175 | 175 | ||
176 | /** | 176 | /* |
177 | * Generic REQ type | 177 | * Generic REQ type |
178 | */ | 178 | */ |
179 | struct bfi_fcport_req_s { | 179 | struct bfi_fcport_req_s { |
@@ -181,7 +181,7 @@ struct bfi_fcport_req_s { | |||
181 | u32 msgtag; /* msgtag for reply */ | 181 | u32 msgtag; /* msgtag for reply */ |
182 | }; | 182 | }; |
183 | 183 | ||
184 | /** | 184 | /* |
185 | * Generic RSP type | 185 | * Generic RSP type |
186 | */ | 186 | */ |
187 | struct bfi_fcport_rsp_s { | 187 | struct bfi_fcport_rsp_s { |
@@ -191,7 +191,7 @@ struct bfi_fcport_rsp_s { | |||
191 | u32 msgtag; /* msgtag for reply */ | 191 | u32 msgtag; /* msgtag for reply */ |
192 | }; | 192 | }; |
193 | 193 | ||
194 | /** | 194 | /* |
195 | * BFI_FCPORT_H2I_ENABLE_REQ | 195 | * BFI_FCPORT_H2I_ENABLE_REQ |
196 | */ | 196 | */ |
197 | struct bfi_fcport_enable_req_s { | 197 | struct bfi_fcport_enable_req_s { |
@@ -205,7 +205,7 @@ struct bfi_fcport_enable_req_s { | |||
205 | u32 rsvd2; | 205 | u32 rsvd2; |
206 | }; | 206 | }; |
207 | 207 | ||
208 | /** | 208 | /* |
209 | * BFI_FCPORT_H2I_SET_SVC_PARAMS_REQ | 209 | * BFI_FCPORT_H2I_SET_SVC_PARAMS_REQ |
210 | */ | 210 | */ |
211 | struct bfi_fcport_set_svc_params_req_s { | 211 | struct bfi_fcport_set_svc_params_req_s { |
@@ -214,7 +214,7 @@ struct bfi_fcport_set_svc_params_req_s { | |||
214 | u16 rsvd; | 214 | u16 rsvd; |
215 | }; | 215 | }; |
216 | 216 | ||
217 | /** | 217 | /* |
218 | * BFI_FCPORT_I2H_EVENT | 218 | * BFI_FCPORT_I2H_EVENT |
219 | */ | 219 | */ |
220 | struct bfi_fcport_event_s { | 220 | struct bfi_fcport_event_s { |
@@ -222,7 +222,7 @@ struct bfi_fcport_event_s { | |||
222 | struct bfa_port_link_s link_state; | 222 | struct bfa_port_link_s link_state; |
223 | }; | 223 | }; |
224 | 224 | ||
225 | /** | 225 | /* |
226 | * BFI_FCPORT_I2H_TRUNK_SCN | 226 | * BFI_FCPORT_I2H_TRUNK_SCN |
227 | */ | 227 | */ |
228 | struct bfi_fcport_trunk_link_s { | 228 | struct bfi_fcport_trunk_link_s { |
@@ -243,7 +243,7 @@ struct bfi_fcport_trunk_scn_s { | |||
243 | struct bfi_fcport_trunk_link_s tlink[BFI_FCPORT_MAX_LINKS]; | 243 | struct bfi_fcport_trunk_link_s tlink[BFI_FCPORT_MAX_LINKS]; |
244 | }; | 244 | }; |
245 | 245 | ||
246 | /** | 246 | /* |
247 | * fcport H2I message | 247 | * fcport H2I message |
248 | */ | 248 | */ |
249 | union bfi_fcport_h2i_msg_u { | 249 | union bfi_fcport_h2i_msg_u { |
@@ -255,7 +255,7 @@ union bfi_fcport_h2i_msg_u { | |||
255 | struct bfi_fcport_req_s *pstatsclear; | 255 | struct bfi_fcport_req_s *pstatsclear; |
256 | }; | 256 | }; |
257 | 257 | ||
258 | /** | 258 | /* |
259 | * fcport I2H message | 259 | * fcport I2H message |
260 | */ | 260 | */ |
261 | union bfi_fcport_i2h_msg_u { | 261 | union bfi_fcport_i2h_msg_u { |
@@ -279,7 +279,7 @@ enum bfi_fcxp_i2h { | |||
279 | 279 | ||
280 | #define BFA_FCXP_MAX_SGES 2 | 280 | #define BFA_FCXP_MAX_SGES 2 |
281 | 281 | ||
282 | /** | 282 | /* |
283 | * FCXP send request structure | 283 | * FCXP send request structure |
284 | */ | 284 | */ |
285 | struct bfi_fcxp_send_req_s { | 285 | struct bfi_fcxp_send_req_s { |
@@ -299,7 +299,7 @@ struct bfi_fcxp_send_req_s { | |||
299 | struct bfi_sge_s rsp_sge[BFA_FCXP_MAX_SGES]; /* response buf */ | 299 | struct bfi_sge_s rsp_sge[BFA_FCXP_MAX_SGES]; /* response buf */ |
300 | }; | 300 | }; |
301 | 301 | ||
302 | /** | 302 | /* |
303 | * FCXP send response structure | 303 | * FCXP send response structure |
304 | */ | 304 | */ |
305 | struct bfi_fcxp_send_rsp_s { | 305 | struct bfi_fcxp_send_rsp_s { |
@@ -565,14 +565,14 @@ enum bfi_ioim_i2h { | |||
565 | BFI_IOIM_I2H_IOABORT_RSP = BFA_I2HM(2), /* ABORT rsp */ | 565 | BFI_IOIM_I2H_IOABORT_RSP = BFA_I2HM(2), /* ABORT rsp */ |
566 | }; | 566 | }; |
567 | 567 | ||
568 | /** | 568 | /* |
569 | * IO command DIF info | 569 | * IO command DIF info |
570 | */ | 570 | */ |
571 | struct bfi_ioim_dif_s { | 571 | struct bfi_ioim_dif_s { |
572 | u32 dif_info[4]; | 572 | u32 dif_info[4]; |
573 | }; | 573 | }; |
574 | 574 | ||
575 | /** | 575 | /* |
576 | * FCP IO messages overview | 576 | * FCP IO messages overview |
577 | * | 577 | * |
578 | * @note | 578 | * @note |
@@ -587,7 +587,7 @@ struct bfi_ioim_req_s { | |||
587 | u16 rport_hdl; /* itnim/rport firmware handle */ | 587 | u16 rport_hdl; /* itnim/rport firmware handle */ |
588 | struct fcp_cmnd_s cmnd; /* IO request info */ | 588 | struct fcp_cmnd_s cmnd; /* IO request info */ |
589 | 589 | ||
590 | /** | 590 | /* |
591 | * SG elements array within the IO request must be double word | 591 | * SG elements array within the IO request must be double word |
592 | * aligned. This aligment is required to optimize SGM setup for the IO. | 592 | * aligned. This aligment is required to optimize SGM setup for the IO. |
593 | */ | 593 | */ |
@@ -598,7 +598,7 @@ struct bfi_ioim_req_s { | |||
598 | struct bfi_ioim_dif_s dif; | 598 | struct bfi_ioim_dif_s dif; |
599 | }; | 599 | }; |
600 | 600 | ||
601 | /** | 601 | /* |
602 | * This table shows various IO status codes from firmware and their | 602 | * This table shows various IO status codes from firmware and their |
603 | * meaning. Host driver can use these status codes to further process | 603 | * meaning. Host driver can use these status codes to further process |
604 | * IO completions. | 604 | * IO completions. |
@@ -684,7 +684,7 @@ enum bfi_ioim_status { | |||
684 | }; | 684 | }; |
685 | 685 | ||
686 | #define BFI_IOIM_SNSLEN (256) | 686 | #define BFI_IOIM_SNSLEN (256) |
687 | /** | 687 | /* |
688 | * I/O response message | 688 | * I/O response message |
689 | */ | 689 | */ |
690 | struct bfi_ioim_rsp_s { | 690 | struct bfi_ioim_rsp_s { |
@@ -746,7 +746,7 @@ enum bfi_tskim_status { | |||
746 | BFI_TSKIM_STS_NOT_SUPP = 4, | 746 | BFI_TSKIM_STS_NOT_SUPP = 4, |
747 | BFI_TSKIM_STS_FAILED = 5, | 747 | BFI_TSKIM_STS_FAILED = 5, |
748 | 748 | ||
749 | /** | 749 | /* |
750 | * Defined by BFA | 750 | * Defined by BFA |
751 | */ | 751 | */ |
752 | BFI_TSKIM_STS_TIMEOUT = 10, /* TM request timedout */ | 752 | BFI_TSKIM_STS_TIMEOUT = 10, /* TM request timedout */ |