patch-2.1.25 linux/drivers/net/seeq8005.c
Next file: linux/drivers/net/shaper.c
Previous file: linux/drivers/net/sdlamain.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Sun Feb 2 15:18:41 1997
- Orig file:
v2.1.24/linux/drivers/net/seeq8005.c
- Orig date:
Wed Oct 9 08:55:20 1996
diff -u --recursive --new-file v2.1.24/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 enet_statistics stats;
+ struct net_driver_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 enet_statistics *seeq8005_get_stats(struct device *dev);
+static struct net_driver_stats *seeq8005_get_stats(struct device *dev);
static void set_multicast_list(struct device *dev);
/* Example routines you must write ;->. */
@@ -593,8 +593,7 @@
/* Get the current statistics. This may be called with the card open or
closed. */
-static struct enet_statistics *
-seeq8005_get_stats(struct device *dev)
+static struct net_driver_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