patch-2.4.0-test4 linux/drivers/net/wan/lmc/lmc_main.c

Next file: linux/drivers/net/wan/lmc/lmc_var.h
Previous file: linux/drivers/net/wan/hostess_sv11.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/drivers/net/wan/lmc/lmc_main.c linux/drivers/net/wan/lmc/lmc_main.c
@@ -127,7 +127,7 @@
 static int lmc_rx (struct net_device *dev);
 static int lmc_open(struct net_device *dev);
 static int lmc_close(struct net_device *dev);
-static struct enet_statistics *lmc_get_stats(struct net_device *dev);
+static struct net_device_stats *lmc_get_stats(struct net_device *dev);
 static void lmc_interrupt(int irq, void *dev_instance, struct pt_regs *regs);
 static int lmc_set_config(struct net_device *dev, struct ifmap *map);
 static void lmc_initcsrs(lmc_softc_t * const sc, lmc_csrptr_t csr_base, size_t csr_size);
@@ -1961,7 +1961,7 @@
     return 0;
 }
 
-static struct enet_statistics *lmc_get_stats (struct net_device *dev) /*fold00*/
+static struct net_device_stats *lmc_get_stats (struct net_device *dev) /*fold00*/
 {
     lmc_softc_t *sc;
     LMC_SPIN_FLAGS;
@@ -1978,7 +1978,7 @@
 
     lmc_trace(dev, "lmc_get_stats out");
 
-    return (struct enet_statistics *) &sc->stats;
+    return (struct net_device_stats *) &sc->stats;
 }
 
 #ifdef MODULE

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