Skip to content

Commit 4336c40

Browse files
Russell Kingdavem330
authored andcommitted
phylink: add support for 2500baseX and 10GbaseKR
Add support for handling the faster 2.5G and 10G link modes when used with SFP modules. Signed-off-by: Russell King <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 86a362c commit 4336c40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/phy/phylink.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,6 +1352,8 @@ static int phylink_sfp_module_insert(void *upstream,
13521352
switch (iface) {
13531353
case PHY_INTERFACE_MODE_SGMII:
13541354
case PHY_INTERFACE_MODE_1000BASEX:
1355+
case PHY_INTERFACE_MODE_2500BASEX:
1356+
case PHY_INTERFACE_MODE_10GKR:
13551357
mode = MLO_AN_INBAND;
13561358
break;
13571359
default:

0 commit comments

Comments
 (0)