]> 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)
commitd1de273de0fdb28e76e8961cdb10ccea0f6a57a9
tree084d2e9b6b53fdbe7e3298dd201411cb59703917
parentf2ed6c21abd460b06ee05c6fcf63f6c08ac40e15
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