patch-2.4.0-test4 linux/drivers/net/dmfe.c
Next file: linux/drivers/net/eepro.c
Previous file: linux/drivers/net/de4x5.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Jul 11 11:12:23 2000
- Orig file:
v2.4.0-test3/linux/drivers/net/dmfe.c
- Orig date:
Fri Jun 23 21:55:09 2000
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/net/dmfe.c linux/drivers/net/dmfe.c
@@ -214,7 +214,7 @@
u8 rx_error_cnt; /* recievd abnormal case count */
u8 dm910x_chk_mode; /* Operating mode check */
struct timer_list timer;
- struct enet_statistics stats; /* statistic counter */
+ struct net_device_stats stats; /* statistic counter */
unsigned char srom[128];
};
@@ -313,7 +313,7 @@
static int dmfe_open(struct net_device *);
static int dmfe_start_xmit(struct sk_buff *, struct net_device *);
static int dmfe_stop(struct net_device *);
-static struct enet_statistics *dmfe_get_stats(struct net_device *);
+static struct net_device_stats *dmfe_get_stats(struct net_device *);
static void dmfe_set_filter_mode(struct net_device *);
static int dmfe_do_ioctl(struct net_device *, struct ifreq *, int);
static u16 read_srom_word(long, int);
@@ -849,7 +849,7 @@
/*
Get statistics from driver.
*/
-static struct enet_statistics *dmfe_get_stats(struct net_device *dev)
+static struct net_device_stats *dmfe_get_stats(struct net_device *dev)
{
struct dmfe_board_info *db = (struct dmfe_board_info *) dev->priv;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)