net: dsa: Consolidate phy read and write functions
authorAndrew Lunn <andrew@lunn.ch>
Thu, 2 Apr 2015 02:06:36 +0000 (04:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 02:55:40 +0000 (22:55 -0400)
commitfd3a0ee4063e4f44d915df8f117d9e0d8b05950a
tree4852b462842e2e06bfccd0f16b817affb48f6d91
parent4914358567d81d6f1d95f7809c77658c55555f1c
net: dsa: Consolidate phy read and write functions

Move the common code for reading and writing phy registers into the
shared mv88e6xxx.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6123_61_65.c
drivers/net/dsa/mv88e6171.c
drivers/net/dsa/mv88e6352.c
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h