commit | a605a0fe7115ead62f9a2e93819e21776261efec | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Mon Nov 21 23:26:58 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 22 09:55:30 2016 -0500 |
tree | a711d4b3434153c6daa4252cb5df18b556323342 | |
parent | 1a3b39ecfe32bf9a13df44b4fadf91d4e4d3d5ff [diff] |
net: dsa: mv88e6xxx: Abstract stats_snapshot into ops structure Taking a stats snapshot differs between same families. Abstract this into an ops member. At the same time, move the code into global1.[ch], since the registers are in the global1 range. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>