patch-2.1.25 linux/drivers/net/at1700.c
Next file: linux/drivers/net/atari_bionet.c
Previous file: linux/drivers/net/ariadne.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sun Feb 2 15:18:36 1997
- Orig file:
v2.1.24/linux/drivers/net/at1700.c
- Orig date:
Tue Dec 31 21:41:03 1996
diff -u --recursive --new-file v2.1.24/linux/drivers/net/at1700.c linux/drivers/net/at1700.c
@@ -67,7 +67,7 @@
/* Information that need to be kept for each board. */
struct net_local {
- struct enet_statistics stats;
+ struct net_device_stats stats;
uint tx_started:1; /* Number of packet on the Tx queue. */
uchar tx_queue; /* Number of packet on the Tx queue. */
ushort tx_queue_len; /* Current length of the Tx queue. */
@@ -120,7 +120,7 @@
static void net_interrupt(int irq, void *dev_id, struct pt_regs *regs);
static void net_rx(struct device *dev);
static int net_close(struct device *dev);
-static struct enet_statistics *net_get_stats(struct device *dev);
+static struct net_device_stats *net_get_stats(struct device *dev);
static void set_multicast_list(struct device *dev);
@@ -592,8 +592,8 @@
/* Get the current statistics. This may be called with the card open or
closed. */
-static struct enet_statistics *
-net_get_stats(struct device *dev)
+
+static struct net_device_stats *net_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