patch-2.4.0-test4 linux/drivers/net/tokenring/tms380tr.c

Next file: linux/drivers/net/tulip/tulip_core.c
Previous file: linux/drivers/net/tokenring/smctr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/drivers/net/tokenring/tms380tr.c linux/drivers/net/tokenring/tms380tr.c
@@ -143,7 +143,7 @@
 static void 	tms380tr_exec_sifcmd(struct net_device *dev, unsigned int WriteValue);
 /* "F" */
 /* "G" */
-static struct enet_statistics *tms380tr_get_stats(struct net_device *dev);
+static struct net_device_stats *tms380tr_get_stats(struct net_device *dev);
 /* "H" */
 static void 	tms380tr_hardware_send_packet(struct net_device *dev,
 			struct net_local* tp);
@@ -1166,11 +1166,11 @@
  * Get the current statistics. This may be called with the card open
  * or closed.
  */
-static struct enet_statistics *tms380tr_get_stats(struct net_device *dev)
+static struct net_device_stats *tms380tr_get_stats(struct net_device *dev)
 {
 	struct net_local *tp = (struct net_local *)dev->priv;
 
-	return ((struct enet_statistics *)&tp->MacStat);
+	return ((struct net_device_stats *)&tp->MacStat);
 }
 
 /*

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