]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: slave: Fix autoneg for phys on switch MDIO bus
authorAndrew Lunn <andrew@lunn.ch>
Wed, 5 Nov 2014 18:47:28 +0000 (19:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 20:06:28 +0000 (15:06 -0500)
commit9af866c971950f30c2942a115377dc1e292e58a1
treea7885358f08a9e2b714aca0386f91ca825ce266d
parent105c0504c12e195dd6d87a7f05e5182100c3c7b4
net: dsa: slave: Fix autoneg for phys on switch MDIO bus

When the ports phys are connected to the switches internal MDIO bus,
we need to connect the phy to the slave netdev, otherwise
auto-negotiation etc, does not work.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c