.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* atlx.c -- common functions for Attansic network drivers |
---|
2 | 3 | * |
---|
3 | 4 | * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. |
---|
.. | .. |
---|
7 | 8 | * |
---|
8 | 9 | * Derived from Intel e1000 driver |
---|
9 | 10 | * 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. |
---|
24 | 11 | */ |
---|
25 | 12 | |
---|
26 | 13 | /* Including this file like a header is a temporary hack, I promise. -- CHS */ |
---|
.. | .. |
---|
196 | 183 | * atlx_tx_timeout - Respond to a Tx Hang |
---|
197 | 184 | * @netdev: network interface device structure |
---|
198 | 185 | */ |
---|
199 | | -static void atlx_tx_timeout(struct net_device *netdev) |
---|
| 186 | +static void atlx_tx_timeout(struct net_device *netdev, unsigned int txqueue) |
---|
200 | 187 | { |
---|
201 | 188 | struct atlx_adapter *adapter = netdev_priv(netdev); |
---|
202 | 189 | /* Do the reset outside of interrupt context */ |
---|