.. | .. |
---|
23 | 23 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
24 | 24 | |
---|
25 | 25 | #define DRV_NAME "3c589_cs" |
---|
26 | | -#define DRV_VERSION "1.162-ac" |
---|
27 | 26 | |
---|
28 | 27 | #include <linux/module.h> |
---|
29 | 28 | #include <linux/kernel.h> |
---|
.. | .. |
---|
173 | 172 | static struct net_device_stats *el3_get_stats(struct net_device *dev); |
---|
174 | 173 | static int el3_rx(struct net_device *dev); |
---|
175 | 174 | static int el3_close(struct net_device *dev); |
---|
176 | | -static void el3_tx_timeout(struct net_device *dev); |
---|
| 175 | +static void el3_tx_timeout(struct net_device *dev, unsigned int txqueue); |
---|
177 | 176 | static void set_rx_mode(struct net_device *dev); |
---|
178 | 177 | static void set_multicast_list(struct net_device *dev); |
---|
179 | 178 | static const struct ethtool_ops netdev_ethtool_ops; |
---|
.. | .. |
---|
482 | 481 | struct ethtool_drvinfo *info) |
---|
483 | 482 | { |
---|
484 | 483 | strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); |
---|
485 | | - strlcpy(info->version, DRV_VERSION, sizeof(info->version)); |
---|
486 | 484 | snprintf(info->bus_info, sizeof(info->bus_info), |
---|
487 | 485 | "PCMCIA 0x%lx", dev->base_addr); |
---|
488 | 486 | } |
---|
.. | .. |
---|
526 | 524 | return 0; |
---|
527 | 525 | } |
---|
528 | 526 | |
---|
529 | | -static void el3_tx_timeout(struct net_device *dev) |
---|
| 527 | +static void el3_tx_timeout(struct net_device *dev, unsigned int txqueue) |
---|
530 | 528 | { |
---|
531 | 529 | unsigned int ioaddr = dev->base_addr; |
---|
532 | 530 | |
---|