]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6171: Enable access to phys via internal mdio bus
authorAndrew Lunn <andrew@lunn.ch>
Sat, 14 Feb 2015 18:17:51 +0000 (19:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Feb 2015 20:52:25 +0000 (15:52 -0500)
commit2cea66b51576c05f02938cd722e8c561c10b1ff4
tree935725a8956e25c7b7b50a7857e79d69a5f00c56
parentd5ddc58eebe25eee4845b04ec950a4e83564c414
net: dsa: mv88e6171: Enable access to phys via internal mdio bus

When the device is configured to use single chip addressing mode, the
phy devices of the port are not accessible on the host MDIO
bus. Instead the switch internal MDIO bus must be used. For this to
work, the phy polling unit must be enabled.

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