patch-2.4.0-test4 linux/drivers/net/sonic.h
Next file: linux/drivers/net/strip.c
Previous file: linux/drivers/net/sonic.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jul 11 11:12:24 2000
- Orig file:
v2.4.0-test3/linux/drivers/net/sonic.h
- Orig date:
Wed Aug 18 11:36:45 1999
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/net/sonic.h linux/drivers/net/sonic.h
@@ -460,7 +460,7 @@
unsigned int cur_tx;
unsigned int dirty_tx; /* last unacked transmit packet */
char tx_full;
- struct enet_statistics stats;
+ struct net_device_stats stats;
};
/* Index to functions, as function prototypes. */
@@ -470,7 +470,7 @@
static void sonic_interrupt(int irq, void *dev_id, struct pt_regs *regs);
static void sonic_rx(struct net_device *dev);
static int sonic_close(struct net_device *dev);
-static struct enet_statistics *sonic_get_stats(struct net_device *dev);
+static struct net_device_stats *sonic_get_stats(struct net_device *dev);
static void sonic_multicast_list(struct net_device *dev);
static int sonic_init(struct net_device *dev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)