Merge branch 'net-phy-realtek-complete-5gbps-support-and-replace-private-constants'
authorJakub Kicinski <kuba@kernel.org>
Thu, 8 Feb 2024 02:19:55 +0000 (18:19 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Feb 2024 02:19:56 +0000 (18:19 -0800)
commitfef599ffdc4c5644a583690f6224c7f033a08a5f
tree55569ed5d21bef795284f4b8b34d54c24b8d3bcf
parent9736c648370d237f61065a7e45e668e2db4374e9
parentdb1bb7741ff29bf2cefcbc0ca567644e9ed1caa9
Merge branch 'net-phy-realtek-complete-5gbps-support-and-replace-private-constants'

Heiner Kallweit says:

====================
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().
====================

Link: https://lore.kernel.org/r/31a83fd9-90ce-402a-84c7-d5c20540b730@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>