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

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

diff -u --recursive --new-file v2.1.24/linux/drivers/net/lapbether.c linux/drivers/net/lapbether.c
@@ -74,7 +74,7 @@
 	char   ethname[14];		/* ether device name */
 	struct device *ethdev;		/* link to ethernet device */
 	struct device axdev;		/* lapbeth device (lapb#) */
-	struct enet_statistics stats;	/* some statistics */
+	struct net_device_stats stats;	/* some statistics */
 } *lapbeth_devices = NULL;
 
 
@@ -330,7 +330,7 @@
 /*
  *	Statistics
  */
-static struct enet_statistics *lapbeth_get_stats(struct device *dev)
+static struct net_device_stats *lapbeth_get_stats(struct device *dev)
 {
 	struct lapbethdev *lapbeth;
 

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