commit | f30446839b5a283cde54f7e233bbebc69bbd3d16 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sat Feb 14 19:17:50 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 19 15:52:25 2015 -0500 |
tree | d3ed4858d8c276f529fa956072f2b9723e0e5fcb | |
parent | ea8860eb504a953cf8fe0e96c3166201b05c9b73 [diff] |
net: dsa: mv88e6352: Refactor shareable code The mv88e6352 allows access to the port phys via an internal mdio bus which is accessed using registers in the GLOBAL 2 range. The mv88e6171 and probably other devices use the same mechanism. Move this code into the shared mv88e6xxx.c library. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>