atl1e: update statistics code
authorSabrina Dubroca <sd@queasysnail.net>
Sun, 12 Jan 2014 17:50:39 +0000 (18:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 01:18:05 +0000 (17:18 -0800)
commitfb3a42fc39bf4453dc6fab25bbbf6f0416936887
tree8957bb51e0accecb248c50b7fffe0b7d605e4490
parent8560258f0e67104278816211443e63bda5d300ea
atl1e: update statistics code

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.

Minor whitespace fixes to match the style in alx.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1e/atl1e_main.c