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

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

diff -u --recursive --new-file v2.1.24/linux/drivers/net/eexpress.c linux/drivers/net/eexpress.c
@@ -103,7 +103,7 @@
 
 struct net_local
 {
-	struct enet_statistics stats;
+	struct net_device_stats stats;
 	unsigned long init_time;     /* jiffies when eexp_hw_init586 called */
 	unsigned short rx_first;     /* first rx buf, same as RX_BUF_START */
 	unsigned short rx_last;      /* last rx buf */
@@ -189,7 +189,7 @@
 extern int express_probe(struct device *dev);
 static int eexp_open(struct device *dev);
 static int eexp_close(struct device *dev);
-static struct enet_statistics *eexp_stats(struct device *dev);
+static struct net_device_stats *eexp_stats(struct device *dev);
 static int eexp_xmit(struct sk_buff *buf, struct device *dev);
 
 static void eexp_irq(int irq, void *dev_addr, struct pt_regs *regs);
@@ -358,7 +358,7 @@
  * Return interface stats
  */
 
-static struct enet_statistics *eexp_stats(struct device *dev)
+static struct net_device_stats *eexp_stats(struct device *dev)
 {
 	struct net_local *lp = (struct net_local *)dev->priv;
 

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