patch-2.4.0-test4 linux/drivers/acorn/net/ether1.c
Next file: linux/drivers/acorn/net/ether1.h
Previous file: linux/arch/sparc64/solaris/timod.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Jul 11 11:12:23 2000
- Orig file:
v2.4.0-test3/linux/drivers/acorn/net/ether1.c
- Orig date:
Tue May 23 15:31:34 2000
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/acorn/net/ether1.c linux/drivers/acorn/net/ether1.c
@@ -70,7 +70,7 @@
static int ether1_sendpacket(struct sk_buff *skb, struct net_device *dev);
static void ether1_interrupt(int irq, void *dev_id, struct pt_regs *regs);
static int ether1_close(struct net_device *dev);
-static struct enet_statistics *ether1_getstats(struct net_device *dev);
+static struct net_device_stats *ether1_getstats(struct net_device *dev);
static void ether1_setmulticastlist(struct net_device *dev);
static void ether1_timeout(struct net_device *dev);
@@ -661,7 +661,7 @@
return -EAGAIN;
}
- memset (&priv->stats, 0, sizeof (struct enet_statistics));
+ memset (&priv->stats, 0, sizeof (struct net_device_stats));
if (ether1_init_for_open (dev)) {
free_irq (dev->irq, dev);
@@ -978,7 +978,7 @@
return 0;
}
-static struct enet_statistics *
+static struct net_device_stats *
ether1_getstats (struct net_device *dev)
{
struct ether1_priv *priv = (struct ether1_priv *)dev->priv;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)