]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Make sure to configure ports with external PHYs
authorMarek Vasut <marex@denx.de>
Tue, 11 Sep 2018 22:15:24 +0000 (00:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 03:35:39 +0000 (20:35 -0700)
commit6c803aa21b3cb4871013a3da2a7a2e6dbcec092a
tree084d2e9b6b53fdbe7e3298dd201411cb59703917
parent041a5b078dc0e5f5e9d33cbeb3b2f135c26a8f0f
net: dsa: mv88e6xxx: Make sure to configure ports with external PHYs

The MV88E6xxx can have external PHYs attached to certain ports and those
PHYs could even be on different MDIO bus than the one within the switch.
This patch makes sure that ports with such PHYs are configured correctly
according to the information provided by the PHY.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c