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
- Lines: 28
- Date:
Sun Feb 2 15:18:36 1997
- Orig file:
v2.1.24/linux/drivers/net/arcnet.c
- Orig date:
Thu Jan 2 15:55:16 1997
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