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

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

diff -u --recursive --new-file v2.1.24/linux/drivers/net/smc9194.c linux/drivers/net/smc9194.c
@@ -175,7 +175,7 @@
 	   can find out semi-useless statistics of how well the card is
 	   performing
  	*/
-	struct enet_statistics stats;
+	struct net_driver_stats stats;
 
 	/*
 	   If I have to wait until memory is available to send
@@ -234,7 +234,7 @@
  . This routine allows the proc file system to query the driver's
  . statistics.
 */
-static struct enet_statistics * smc_query_statistics( struct device *dev);
+static struct net_driver_stats * smc_query_statistics( struct device *dev);
 
 /*
  . Finally, a call to set promiscuous mode ( for TCPDUMP and related
@@ -1643,7 +1643,7 @@
  . Get the current statistics.
  . This may be called with the card open or closed.
  .-------------------------------------------------------------*/
-static struct enet_statistics * smc_query_statistics(struct device *dev) {
+static struct net_driver_stats* smc_query_statistics(struct device *dev) {
 	struct smc_local *lp = (struct smc_local *)dev->priv;
 
 	return &lp->stats;

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