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

Next file: linux/drivers/net/cs89x0.c
Previous file: linux/drivers/net/atp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.24/linux/drivers/net/bpqether.c linux/drivers/net/bpqether.c
@@ -122,7 +122,7 @@
 	char   ethname[14];		/* ether device name */
 	struct device *ethdev;		/* link to ethernet device */
 	struct device axdev;		/* bpq device (bpq#) */
-	struct enet_statistics stats;	/* some statistics */
+	struct net_device_stats stats;	/* some statistics */
 	char   dest_addr[6];		/* ether destination address */
 	char   acpt_addr[6];		/* accept ether frames from this address only */
 } *bpq_devices = NULL;
@@ -331,7 +331,7 @@
 /*
  *	Statistics
  */
-static struct enet_statistics *bpq_get_stats(struct device *dev)
+static struct net_device_stats *bpq_get_stats(struct device *dev)
 {
 	struct bpqdev *bpq;
 

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