atl1: update statistics code
authorSabrina Dubroca <sd@queasysnail.net>
Sun, 12 Jan 2014 17:50:40 +0000 (18:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 01:18:06 +0000 (17:18 -0800)
As Ben Hutchings pointed out for the stats in alx, some
hardware-specific stats aren't matched to the right net_device_stats
field. Also fix the collision field and include errors in the total
number of RX/TX packets. Add a rx_dropped field and use it where
netdev->stats was modified directly out of the stats update function.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found