diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
commit | c7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch) | |
tree | 3682407a599b8f9f03fc096298134cafba1c9b2f /drivers/net/eepro.c | |
parent | 1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff) |
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r-- | drivers/net/eepro.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index 54a7ac5ef..b26a1bfc0 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c @@ -1106,6 +1106,8 @@ hardware_send_packet(struct device *dev, void *buf, short length) dev->tbusy = 0; } + lp->stats.tx_bytes += length; + if (net_debug > 5) printk("eepro: exiting hardware_send_packet routine.\n"); return; @@ -1164,6 +1166,7 @@ eepro_rx(struct device *dev) skb->protocol = eth_type_trans(skb,dev); netif_rx(skb); lp->stats.rx_packets++; + lp->stats.rx_bytes += rcv_size; } else { /* Not sure will ever reach here, I set the 595 to discard bad received frames */ |