patch-2.1.26 linux/drivers/net/seeq8005.c

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

diff -u --recursive --new-file v2.1.25/linux/drivers/net/seeq8005.c linux/drivers/net/seeq8005.c
@@ -64,7 +64,7 @@
 
 /* Information that need to be kept for each board. */
 struct net_local {
-	struct net_driver_stats stats;
+	struct net_device_stats stats;
 	unsigned short receive_ptr;		/* What address in packet memory do we expect a recv_pkt_header? */
 	long open_time;				/* Useless example local info. */
 };
@@ -84,7 +84,7 @@
 static void seeq8005_interrupt(int irq, void *dev_id, struct pt_regs *regs);
 static void seeq8005_rx(struct device *dev);
 static int seeq8005_close(struct device *dev);
-static struct net_driver_stats *seeq8005_get_stats(struct device *dev);
+static struct net_device_stats *seeq8005_get_stats(struct device *dev);
 static void set_multicast_list(struct device *dev);
 
 /* Example routines you must write ;->. */
@@ -593,7 +593,7 @@
 
 /* Get the current statistics.	This may be called with the card open or
    closed. */
-static struct net_driver_stats *seeq8005_get_stats(struct device *dev)
+static struct net_device_stats *seeq8005_get_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