[PATCH] cs89x0: collect tx_bytes statistics

Signed-off-by: Ian Campbell <icampbell@arcom.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Ian Campbell and committed by Linus Torvalds e1699f50 ac12259f

+1
+1
drivers/net/cs89x0.c
··· 1450 1450 /* Write the contents of the packet */ 1451 1451 outsw(dev->base_addr + TX_FRAME_PORT,skb->data,(skb->len+1) >>1); 1452 1452 spin_unlock_irq(&lp->lock); 1453 + lp->stats.tx_bytes += skb->len; 1453 1454 dev->trans_start = jiffies; 1454 1455 dev_kfree_skb (skb); 1455 1456