diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2007-05-01 22:32:50 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-05 02:59:07 +0200 |
commit | 3f5d987e62412ce6540b97b622b03ca9c1677eee (patch) | |
tree | 1ed0d4e5064d148f6ad10444cfc59e7791f51757 /drivers/net/ariadne.c | |
parent | m68k: pmu_queue_request() declaration conflict (diff) | |
download | linux-3f5d987e62412ce6540b97b622b03ca9c1677eee.tar.xz linux-3f5d987e62412ce6540b97b622b03ca9c1677eee.zip |
m68k: Amiga A2065 and Ariadne TX statistics
Add missing code to the Amiga A2065 and Ariadne drivers to update
net_device_stats.tx_bytes.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/ariadne.c')
-rw-r--r-- | drivers/net/ariadne.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ariadne.c b/drivers/net/ariadne.c index a0e68e718531..a241ae7855a3 100644 --- a/drivers/net/ariadne.c +++ b/drivers/net/ariadne.c @@ -677,6 +677,7 @@ static int ariadne_start_xmit(struct sk_buff *skb, struct net_device *dev) priv->cur_tx -= TX_RING_SIZE; priv->dirty_tx -= TX_RING_SIZE; } + priv->stats.tx_bytes += len; /* Trigger an immediate send poll. */ lance->RAP = CSR0; /* PCnet-ISA Controller Status */ |