]> 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)
commit93b0d7230673a5bb093919384eee9d2ab29c470c
tree4a5cb052a3ce10df99bfd0db91a879402bdc004f
parentebe61dc0e06628489bfad70eea8e28671bffaf6d
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: cb46f088919f ("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