Skip to content

net: phy: realtek: complete 5Gbps support and replace private constants

Heiner Kallweit netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: mdio: add 2.5g and 5g related PMA speed constantsinclude/uapi/linux/mdio.h+2 -00 repliesApplied
2/3net: phy: realtek: use generic MDIO constantsdrivers/net/phy/realtek.c+13 -178 repliesApplied
3/3net: phy: realtek: add 5Gbps support to rtl822x_config_aneg()drivers/net/phy/realtek.c+8 -40 repliesApplied

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: phy: realtek: complete 5Gbps support and replace private constants

Realtek maps standard C45 registers to vendor-specific registers which can be accessed via C22 w/o MMD. For an unknown reason C22 MMD access to C45 registers isn't supported for integrated PHY's. However the vendor-specific registers preserve the format of the C45 registers, so we can use standard constants. First two patches are cherry-picked from a series posted by Marek some time ago.

RTL8126 supports 5Gbps, therefore add the missing 5Gbps support to rtl822x_config_aneg().

Heiner Kallweit (1):
net: phy: realtek: add 5Gbps support to rtl822x_config_aneg()

Marek Behún (2):
net: mdio: add 2.5g and 5g related PMA speed constants
net: phy: realtek: use generic MDIO constants

 drivers/net/phy/realtek.c | 36 ++++++++++++++++++------------------
 include/uapi/linux/mdio.h |  2 ++
 2 files changed, 20 insertions(+), 18 deletions(-)
Signature · 1 line
2.43.0