]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd252afa52bdd66b00aef3ea5898ce51f480c362
tree4852b462842e2e06bfccd0f16b817affb48f6d91
parentb12784978b506e8ddf7fcf3dc5c5eff98a9a1ed7
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