dsa: mv88x6xxx: Zero statistics counters
authorAndrew Lunn <andrew@lunn.ch>
Sat, 20 Jun 2015 19:31:29 +0000 (21:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 13:37:17 +0000 (06:37 -0700)
commitdb687a56e4f2796bae77ac3b21b930fabe5159cc
treef50ee1d9ebbd113ef43b270aa2e3a8b45dcbc119
parent824831fadc82156274f50edcbf79a75f4b646ba5
dsa: mv88x6xxx: Zero statistics counters

Zero the statistics counters when setting up the global
registers. Otherwise the counters will remain from the last boot if
the power has not been removed.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c