patch-2.1.25 linux/drivers/net/eepro.c
Next file: linux/drivers/net/eexpress.c
Previous file: linux/drivers/net/dummy.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Feb 2 15:18:39 1997
- Orig file:
v2.1.24/linux/drivers/net/eepro.c
- Orig date:
Tue Dec 31 21:41:04 1996
diff -u --recursive --new-file v2.1.24/linux/drivers/net/eepro.c linux/drivers/net/eepro.c
@@ -128,7 +128,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 */
@@ -156,7 +156,7 @@
static void eepro_rx(struct device *dev);
static void eepro_transmit_interrupt(struct device *dev);
static int eepro_close(struct device *dev);
-static struct enet_statistics *eepro_get_stats(struct device *dev);
+static struct net_device_stats *eepro_get_stats(struct device *dev);
static void set_multicast_list(struct device *dev);
static int read_eeprom(int ioaddr, int location);
@@ -846,7 +846,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 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, slshen@lbl.gov