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)
commitb31f65fb4383a49bdcfa465176754b37e44e1e17
treea7885358f08a9e2b714aca0386f91ca825ce266d
parent5816c3dafb6c63fd5c7b9f3f707c8565811d9916
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