commit | e0d8b61556b672e2b0f6f5f4e7517811b9905488 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Mon Nov 21 23:27:04 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 22 09:55:30 2016 -0500 |
tree | 964349661e4aeb1c4c0bf39779eeab81e47e3b2d | |
parent | 052f947fe12353d36cf0d5430c2ddf87400a33ad [diff] |
net: dsa: mv88e6xxx: Implement mv88e6390 get_stats The mv88e6390 uses a different bit to select between bank0 and bank1 of the statistics. So implement an ops function for this, and pass the selector bit to the generic stats read function. Also, the histogram selection has moved for the mv88e6390, so abstract its selection as well. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>