summaryrefslogtreecommitdiffstats
path: root/drivers/net/strip.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-12 01:43:08 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-12 01:43:08 +0000
commitf4ae78d536e6dfaeb24c01b331fc38d950ed062b (patch)
tree6930a78aa7cc4ee1829d50d3bcbaf0dbe9e2e905 /drivers/net/strip.c
parent66f20d0f9bd86dc11f3869d78f3c5749789323ee (diff)
Merge with 2.4.0-test4-pre2.
Diffstat (limited to 'drivers/net/strip.c')
-rw-r--r--drivers/net/strip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/strip.c b/drivers/net/strip.c
index 3f3bd8a4a..b63c47cb8 100644
--- a/drivers/net/strip.c
+++ b/drivers/net/strip.c
@@ -2430,12 +2430,12 @@ static int dev_set_mac_address(struct net_device *dev, void *addr)
return 0;
}
-static struct enet_statistics *strip_get_stats(struct net_device *dev)
+static struct net_device_stats *strip_get_stats(struct net_device *dev)
{
- static struct enet_statistics stats;
+ static struct net_device_stats stats;
struct strip *strip_info = (struct strip *)(dev->priv);
- memset(&stats, 0, sizeof(struct enet_statistics));
+ memset(&stats, 0, sizeof(struct net_device_stats));
stats.rx_packets = strip_info->rx_packets;
stats.tx_packets = strip_info->tx_packets;