]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Fix statistics on mv88e6161
authorAndrew Lunn <andrew@lunn.ch>
Fri, 1 Mar 2019 22:43:39 +0000 (23:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 08:45:04 +0000 (00:45 -0800)
commit3f351eb61cd6a2d45a188f3d5a8fbc5bcbf6d005
tree4a5cb052a3ce10df99bfd0db91a879402bdc004f
parent93069c69f5632314f8a72aebaeddd4a33bfc9a45
net: dsa: mv88e6xxx: Fix statistics on mv88e6161

Despite what the datesheet says, the silicon implements the older way
of snapshoting the statistics. Change the op.

Reported-by: Chris.Healy@zii.aero
Tested-by: Chris.Healy@zii.aero
Fixes: 20ea30a6ff43 ("net: dsa: mv88e6xxx: mv88e6161 uses mv88e6320 stats snapshot")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c