patch-2.1.25 linux/drivers/net/apricot.c
Next file: linux/drivers/net/arcnet.c
Previous file: linux/drivers/net/a2065.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Feb 2 15:18:36 1997
- Orig file:
v2.1.24/linux/drivers/net/apricot.c
- Orig date:
Tue Dec 31 21:41:02 1996
diff -u --recursive --new-file v2.1.24/linux/drivers/net/apricot.c linux/drivers/net/apricot.c
@@ -162,7 +162,7 @@
struct i596_cmd *cmd_head;
int cmd_backlog;
unsigned long last_cmd;
- struct enet_statistics stats;
+ struct net_device_stats stats;
};
char init_setup[] = {
@@ -185,7 +185,7 @@
static int i596_start_xmit(struct sk_buff *skb, struct device *dev);
static void i596_interrupt(int irq, void *dev_id, struct pt_regs *regs);
static int i596_close(struct device *dev);
-static struct enet_statistics *i596_get_stats(struct device *dev);
+static struct net_device_stats *i596_get_stats(struct device *dev);
static void i596_add_cmd(struct device *dev, struct i596_cmd *cmd);
static void print_eth(char *);
static void set_multicast_list(struct device *dev);
@@ -942,7 +942,7 @@
return 0;
}
-static struct enet_statistics *
+static struct net_device_stats *
i596_get_stats(struct device *dev)
{
struct i596_private *lp = (struct i596_private *)dev->priv;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov