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

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

diff -u --recursive --new-file v2.1.24/linux/drivers/net/atarilance.c linux/drivers/net/atarilance.c
@@ -223,7 +223,7 @@
 	int					dirty_tx;		/* Ring entries to be freed. */
 						/* copy function */
 	void				*(*memcpy_f)( void *, const void *, size_t );
-	struct enet_statistics stats;
+	struct net_device_stats stats;
 /* These two must be ints for set_bit() */
 	int					tx_full;
 	int					lock;
@@ -346,7 +346,7 @@
 static void lance_interrupt( int irq, void *dev_id, struct pt_regs *fp );
 static int lance_rx( struct device *dev );
 static int lance_close( struct device *dev );
-static struct enet_statistics *lance_get_stats( struct device *dev );
+static struct net_device_stats *lance_get_stats( struct device *dev );
 static void set_multicast_list( struct device *dev );
 static int lance_set_mac_address( struct device *dev, void *addr );
 
@@ -1072,7 +1072,7 @@
 }
 
 
-static struct enet_statistics *lance_get_stats( struct device *dev )
+static struct net_device_stats *lance_get_stats( struct device *dev )
 
 {	struct lance_private *lp = (struct lance_private *)dev->priv;
 

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