patch-2.4.0-test4 linux/drivers/net/eepro.c
Next file: linux/drivers/net/eepro100.c
Previous file: linux/drivers/net/dmfe.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/eepro.c
- Orig date:
Mon Jul 10 16:47:23 2000
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/net/eepro.c linux/drivers/net/eepro.c
@@ -181,7 +181,7 @@
/* Information that need to be kept for each board. */
struct eepro_local {
- struct enet_statistics stats;
+ struct net_device_stats stats;
unsigned rx_start;
unsigned tx_start; /* start of the transmit chain */
int tx_last; /* pointer to last packet in the transmit chain */
@@ -293,7 +293,7 @@
static void eepro_rx(struct net_device *dev);
static void eepro_transmit_interrupt(struct net_device *dev);
static int eepro_close(struct net_device *dev);
-static struct enet_statistics *eepro_get_stats(struct net_device *dev);
+static struct net_device_stats *eepro_get_stats(struct net_device *dev);
static void set_multicast_list(struct net_device *dev);
static void eepro_tx_timeout (struct net_device *dev);
@@ -1247,7 +1247,7 @@
/* Get the current statistics. This may be called with the card open or
closed. */
-static struct enet_statistics *
+static struct net_device_stats *
eepro_get_stats(struct net_device *dev)
{
struct eepro_local *lp = (struct eepro_local *)dev->priv;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)