net: switch to using PHY_INTERFACE_MODE_10GBASER rather than 10GKR
Switch network drivers, phy drivers, and SFP/phylink over to use the more correct 10GBASE-R, rather than 10GBASE-KR. 10GBASE-KR is backplane ethernet, which is 10GBASE-R with autonegotiation on top, which our current usage on the affected platforms does not have. The only remaining user of PHY_INTERFACE_MODE_10GKR is the Aquantia PHY, which has a separate mode for 10GBASE-KR. For Marvell mvpp2, we detect 10GBASE-KR, and rewrite it to 10GBASE-R for compatibility with existing DT - this is the only network driver at present that makes use of PHY_INTERFACE_MODE_10GKR. Signed-off-by:Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 14 additions, 5 deletionsdrivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
- drivers/net/phy/aquantia_main.c 5 additions, 2 deletionsdrivers/net/phy/aquantia_main.c
- drivers/net/phy/bcm84881.c 2 additions, 2 deletionsdrivers/net/phy/bcm84881.c
- drivers/net/phy/marvell10g.c 6 additions, 5 deletionsdrivers/net/phy/marvell10g.c
- drivers/net/phy/phylink.c 1 addition, 0 deletionsdrivers/net/phy/phylink.c
- drivers/net/phy/sfp-bus.c 1 addition, 1 deletiondrivers/net/phy/sfp-bus.c
- drivers/phy/marvell/phy-mvebu-cp110-comphy.c 10 additions, 10 deletionsdrivers/phy/marvell/phy-mvebu-cp110-comphy.c
Loading
Please register or sign in to comment