You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Linus Torvalds
parent
bff832cda7
commit
3f5d987e62
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user