hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/net/ethernet/3com/3c589_cs.c
....@@ -23,7 +23,6 @@
2323 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
2424
2525 #define DRV_NAME "3c589_cs"
26
-#define DRV_VERSION "1.162-ac"
2726
2827 #include <linux/module.h>
2928 #include <linux/kernel.h>
....@@ -173,7 +172,7 @@
173172 static struct net_device_stats *el3_get_stats(struct net_device *dev);
174173 static int el3_rx(struct net_device *dev);
175174 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);
177176 static void set_rx_mode(struct net_device *dev);
178177 static void set_multicast_list(struct net_device *dev);
179178 static const struct ethtool_ops netdev_ethtool_ops;
....@@ -482,7 +481,6 @@
482481 struct ethtool_drvinfo *info)
483482 {
484483 strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
485
- strlcpy(info->version, DRV_VERSION, sizeof(info->version));
486484 snprintf(info->bus_info, sizeof(info->bus_info),
487485 "PCMCIA 0x%lx", dev->base_addr);
488486 }
....@@ -526,7 +524,7 @@
526524 return 0;
527525 }
528526
529
-static void el3_tx_timeout(struct net_device *dev)
527
+static void el3_tx_timeout(struct net_device *dev, unsigned int txqueue)
530528 {
531529 unsigned int ioaddr = dev->base_addr;
532530