mbox series

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

Message ID 31a83fd9-90ce-402a-84c7-d5c20540b730@gmail.com (mailing list archive)
Headers show
Series net: phy: realtek: complete 5Gbps support and replace private constants | expand

Message

Heiner Kallweit Feb. 4, 2024, 2:15 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 8, 2024, 2:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun, 4 Feb 2024 15:15:00 +0100 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/3] net: mdio: add 2.5g and 5g related PMA speed constants
    https://git.kernel.org/netdev/net-next/c/6c06c88fa838
  - [net-next,2/3] net: phy: realtek: use generic MDIO constants
    https://git.kernel.org/netdev/net-next/c/2b9ec5dfb825
  - [net-next,3/3] net: phy: realtek: add 5Gbps support to rtl822x_config_aneg()
    https://git.kernel.org/netdev/net-next/c/db1bb7741ff2

You are awesome, thank you!