]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: move PHY setup on DSA MII bus to its own function
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 10 Mar 2015 23:57:12 +0000 (16:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Mar 2015 21:56:28 +0000 (17:56 -0400)
commitf2d2975186481b63d846c3e0f8e4a621d90eb196
tree23464b98a206ac5fd0d3233912b9bad3e6700fbb
parent062e31fefdc3ae0c54c919c65f260e6b9e1d02ef
net: dsa: move PHY setup on DSA MII bus to its own function

In preparation for dealing with indirect reads and writes towards
certain PHY devices, move the code which deals with binding the PHY
device to the slave MII bus created by DSA to its own function:
dsa_slave_phy_connect().

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c