]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9b9773a4cd9c69c013fbc3a89780cd68b17b646
treef50ee1d9ebbd113ef43b270aa2e3a8b45dcbc119
parent62e57a1f98f47e6605fb540ccfec40102639b8d6
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