atl1c: update statistics code
authorSabrina Dubroca <sd@queasysnail.net>
Sun, 12 Jan 2014 17:50:38 +0000 (18:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 01:18:05 +0000 (17:18 -0800)
commit8560258f0e67104278816211443e63bda5d300ea
treeea9f070298d66424951a059deda02e6dd4e9b650
parent88bfe6ea001d9915a3ad57f30a1b2826ef4e5890
atl1c: 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/atl1c/atl1c_main.c