patch-2.1.25 linux/drivers/net/lance32.c

Next file: linux/drivers/net/lapbether.c
Previous file: linux/drivers/net/lance.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.24/linux/drivers/net/lance32.c linux/drivers/net/lance32.c
@@ -132,7 +132,7 @@
 	int cur_rx, cur_tx;			/* The next free ring entry */
 	int dirty_rx, dirty_tx;		        /* The ring entries to be free()ed. */
 	int dma;
-	struct enet_statistics stats;
+	struct net_device_stats stats;
 	char tx_full;
 	unsigned long lock;
 };
@@ -143,7 +143,7 @@
 static int lance32_rx(struct device *dev);
 static void lance32_interrupt(int irq, void *dev_id, struct pt_regs *regs);
 static int lance32_close(struct device *dev);
-static struct enet_statistics *lance32_get_stats(struct device *dev);
+static struct net_device_stats *lance32_get_stats(struct device *dev);
 static void lance32_set_multicast_list(struct device *dev);
 
 
@@ -785,8 +785,7 @@
 	return 0;
 }
 
-static struct enet_statistics *
-lance32_get_stats(struct device *dev)
+static struct net_device_stats *lance32_get_stats(struct device *dev)
 {
 	struct lance32_private *lp = (struct lance32_private *)dev->priv;
 	int ioaddr = dev->base_addr;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov