patch-2.4.0-test4 linux/drivers/net/sunbmac.c

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

diff -u --recursive --new-file v2.4.0-test3/linux/drivers/net/sunbmac.c linux/drivers/net/sunbmac.c
@@ -1,4 +1,4 @@
-/* $Id: sunbmac.c,v 1.19 2000/06/19 06:24:46 davem Exp $
+/* $Id: sunbmac.c,v 1.20 2000/07/11 22:35:22 davem Exp $
  * sunbmac.c: Driver for Sparc BigMAC 100baseT ethernet adapters.
  *
  * Copyright (C) 1997, 1998, 1999 David S. Miller (davem@redhat.com)
@@ -164,7 +164,7 @@
 
 static void bigmac_get_counters(struct bigmac *bp, unsigned long bregs)
 {
-	struct enet_statistics *stats = &bp->enet_stats;
+	struct net_device_stats *stats = &bp->enet_stats;
 
 	stats->rx_crc_errors += sbus_readl(bregs + BMAC_RCRCECTR);
 	sbus_writel(0, bregs + BMAC_RCRCECTR);
@@ -974,7 +974,7 @@
 	return 0;
 }
 
-static struct enet_statistics *bigmac_get_stats(struct net_device *dev)
+static struct net_device_stats *bigmac_get_stats(struct net_device *dev)
 {
 	struct bigmac *bp = (struct bigmac *) dev->priv;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)