net: mvneta: Fix clearing of MIB statistics
authorAndrew Lunn <andrew@lunn.ch>
Thu, 22 Oct 2015 17:37:36 +0000 (18:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Oct 2015 01:20:35 +0000 (18:20 -0700)
commite483911f9f16d508dd2652ac860977533b96e34e
treef084b53a1f3b5901391cdbef7da3ae270cd0d2f4
parent9b0cdefa4cd5dca85967f66da8ab376c0321b845
net: mvneta: Fix clearing of MIB statistics

The existing function to clear the MIB statatistics was using the
wrong address for the registers. Also, the counters would of been
cleared when the interface was brought up, not during the
probe. Fix both of these.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c