]> 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)
commitbd35bf511b26ee3f1d6082507bfca92f95558c02
tree23464b98a206ac5fd0d3233912b9bad3e6700fbb
parent4ecf75769a00c0b3362f11768b5a5a39ca95efbe
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