net: dsa: mv88e6352: Refactor shareable code
authorAndrew Lunn <andrew@lunn.ch>
Sat, 14 Feb 2015 18:17:50 +0000 (19:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Feb 2015 20:52:25 +0000 (15:52 -0500)
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>
drivers/net/dsa/mv88e6352.c
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h

Simple merge
Simple merge
Simple merge