hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/net/ethernet/brocade/bna/bfa_cee.c
....@@ -1,14 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Linux network driver for QLogic BR-series Converged Network Adapter.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms of the GNU General Public License (GPL) Version 2 as
6
- * published by the Free Software Foundation
7
- *
8
- * This program is distributed in the hope that it will be useful, but
9
- * WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
- * General Public License for more details.
124 */
135 /*
146 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
....@@ -110,14 +102,10 @@
110102 }
111103
112104 /**
113
- * bfa_cee_get_attr_isr()
105
+ * bfa_cee_reset_stats_isr - CEE ISR for reset-stats responses from f/w
114106 *
115
- * @brief CEE ISR for reset-stats responses from f/w
116
- *
117
- * @param[in] cee - Pointer to the CEE module
118
- * status - Return status from the f/w
119
- *
120
- * @return void
107
+ * @cee: Input Pointer to the CEE module
108
+ * @status: Return status from the f/w
121109 */
122110 static void
123111 bfa_cee_reset_stats_isr(struct bfa_cee *cee, enum bfa_status status)
....@@ -156,9 +144,12 @@
156144 }
157145
158146 /**
159
- * bfa_cee_get_attr - Send the request to the f/w to fetch CEE attributes.
147
+ * bfa_nw_cee_get_attr - Send the request to the f/w to fetch CEE attributes.
160148 *
161149 * @cee: Pointer to the CEE module data structure.
150
+ * @attr: attribute requested
151
+ * @cbfn: function pointer
152
+ * @cbarg: function pointer arguments
162153 *
163154 * Return: status
164155 */
....@@ -189,7 +180,9 @@
189180 }
190181
191182 /**
192
- * bfa_cee_isrs - Handles Mail-box interrupts for CEE module.
183
+ * bfa_cee_isr - Handles Mail-box interrupts for CEE module.
184
+ * @cbarg: argument passed containing pointer to the CEE module data structure.
185
+ * @m: message pointer
193186 */
194187
195188 static void
....@@ -218,6 +211,7 @@
218211 /**
219212 * bfa_cee_notify - CEE module heart-beat failure handler.
220213 *
214
+ * @arg: argument passed containing pointer to the CEE module data structure.
221215 * @event: IOC event type
222216 */
223217