net: dsa: mv88e6xxx: SERDES support 2500BaseT via external PHY
Subsystems (4)
PATCH 1/1 net: dsa: mv88e6xxx: SERDES support 2500BaseT via external PHY
From: Andrew Lunn <[email protected]>
By using an external PHY, ports 9 and 10 can support 2500BaseT. So set this link mode in the mask when validating.
Signed-off-by Andrew Lunn <[email protected]>
Signed-off-by Heiner Kallweit <[email protected]>
--- drivers/net/dsa/mv88e6xxx/chip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/net/dsa/mv88e6xxx/chip.c +3 -1
@@ -647,8 +647,10 @@ static void mv88e6390_phylink_validate(struct mv88e6xxx_chip *chip, int port, unsigned long *mask, struct phylink_link_state *state) { -if (port >=9 ) +if (port >=9 ) { phylink_set(mask, 2500baseX_Full); + phylink_set(mask, 2500baseT_Full); + }/* No ethtool bits for 200Mbps */ phylink_set(mask, 1000baseT_Full);
Signature · 1 line
2.20.1
From: Heiner Kallweit <[email protected]>
Date: Fri, 8 Feb 2019 22:25:44 +0100
Quoted 6 lines
From: Andrew Lunn <[email protected]>
By using an external PHY, ports 9 and 10 can support 2500BaseT. So set this link mode in the mask when validating.Signed-off-by Andrew Lunn <[email protected]>Signed-off-by Heiner Kallweit <[email protected]>
Applied.