forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/atheros/atlx/atlx.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* atlx.c -- common functions for Attansic network drivers
23 *
34 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
....@@ -7,20 +8,6 @@
78 *
89 * Derived from Intel e1000 driver
910 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
10
- *
11
- * This program is free software; you can redistribute it and/or modify it
12
- * under the terms of the GNU General Public License as published by the Free
13
- * Software Foundation; either version 2 of the License, or (at your option)
14
- * any later version.
15
- *
16
- * This program is distributed in the hope that it will be useful, but WITHOUT
17
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19
- * more details.
20
- *
21
- * You should have received a copy of the GNU General Public License along with
22
- * this program; if not, write to the Free Software Foundation, Inc., 59
23
- * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2411 */
2512
2613 /* Including this file like a header is a temporary hack, I promise. -- CHS */
....@@ -196,7 +183,7 @@
196183 * atlx_tx_timeout - Respond to a Tx Hang
197184 * @netdev: network interface device structure
198185 */
199
-static void atlx_tx_timeout(struct net_device *netdev)
186
+static void atlx_tx_timeout(struct net_device *netdev, unsigned int txqueue)
200187 {
201188 struct atlx_adapter *adapter = netdev_priv(netdev);
202189 /* Do the reset outside of interrupt context */