Skip to content

Commit f8236a0

Browse files
lunndavem330
authored andcommitted
net: dsa: mv88e6xxx: 2500Base-X uses the 1000Base-X SERDES
The 6390 has three different SERDES interface types. 2500Base-X is implemented by the SGMII/1000Base-X SERDES. So power on/off the correct SERDES. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent e6891c7 commit f8236a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/dsa/mv88e6xxx/serdes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,10 @@ static int mv88e6390_serdes_power_lane(struct mv88e6xxx_chip *chip, int port,
375375
switch (cmode) {
376376
case MV88E6XXX_PORT_STS_CMODE_SGMII:
377377
case MV88E6XXX_PORT_STS_CMODE_1000BASE_X:
378+
case MV88E6XXX_PORT_STS_CMODE_2500BASEX:
378379
return mv88e6390_serdes_power_sgmii(chip, lane, on);
379380
case MV88E6XXX_PORT_STS_CMODE_XAUI:
380381
case MV88E6XXX_PORT_STS_CMODE_RXAUI:
381-
case MV88E6XXX_PORT_STS_CMODE_2500BASEX:
382382
return mv88e6390_serdes_power_10g(chip, lane, on);
383383
}
384384

0 commit comments

Comments
 (0)