diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2024-02-08 05:19:55 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-08 05:19:56 +0300 |
| commit | fef599ffdc4c5644a583690f6224c7f033a08a5f (patch) | |
| tree | 55569ed5d21bef795284f4b8b34d54c24b8d3bcf /include | |
| parent | 9736c648370d237f61065a7e45e668e2db4374e9 (diff) | |
| parent | db1bb7741ff29bf2cefcbc0ca567644e9ed1caa9 (diff) | |
| download | linux-fef599ffdc4c5644a583690f6224c7f033a08a5f.tar.xz | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/linux/mdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/mdio.h b/include/uapi/linux/mdio.h index d03863da180e..3c9097502403 100644 --- a/include/uapi/linux/mdio.h +++ b/include/uapi/linux/mdio.h @@ -138,6 +138,8 @@ #define MDIO_PMA_SPEED_1000 0x0010 /* 1000M capable */ #define MDIO_PMA_SPEED_100 0x0020 /* 100M capable */ #define MDIO_PMA_SPEED_10 0x0040 /* 10M capable */ +#define MDIO_PMA_SPEED_2_5G 0x2000 /* 2.5G capable */ +#define MDIO_PMA_SPEED_5G 0x4000 /* 5G capable */ #define MDIO_PCS_SPEED_10P2B 0x0002 /* 10PASS-TS/2BASE-TL capable */ #define MDIO_PCS_SPEED_2_5G 0x0040 /* 2.5G capable */ #define MDIO_PCS_SPEED_5G 0x0080 /* 5G capable */ |
