]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
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)
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>

Trivial merge