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

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

diff -u --recursive --new-file v2.1.24/linux/drivers/net/arcnet.c linux/drivers/net/arcnet.c
@@ -535,7 +535,7 @@
 
 /* Information that needs to be kept for each board. */
 struct arcnet_local {
-	struct enet_statistics stats;
+	struct net_device_stats stats;
 	u_short sequence;	/* sequence number (incs with each packet) */
 	u_char stationid,	/* our 8-bit station address */
 		recbuf,		/* receive buffer # (0 or 1) */
@@ -609,7 +609,7 @@
 static void arcnetA_rx(struct device *dev,u_char *buf,
 	int length,u_char saddr, u_char daddr);
 
-static struct enet_statistics *arcnet_get_stats(struct device *dev);
+static struct net_device_stats *arcnet_get_stats(struct device *dev);
 
 int arcnetA_header(struct sk_buff *skb,struct device *dev,
 		unsigned short type,void *daddr,void *saddr,unsigned len);
@@ -2580,8 +2580,7 @@
  * closed.
  */
 
-static struct enet_statistics *
-arcnet_get_stats(struct device *dev)
+static struct net_device_stats *arcnet_get_stats(struct device *dev)
 {
 	struct arcnet_local *lp = (struct arcnet_local *)dev->priv;
 

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