diff options
author | Marek BehĂșn <kabel@kernel.org> | 2024-02-04 15:16:46 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-07 18:19:50 -0800 |
commit | 6c06c88fa838fcc1b7e5380facd086f57fd9d1c4 (patch) | |
tree | b3f1764062b01893a6c10af2fa605dafaf71c7fb /include/uapi/linux/mdio.h | |
parent | 9736c648370d237f61065a7e45e668e2db4374e9 (diff) |
net: mdio: add 2.5g and 5g related PMA speed constants
Add constants indicating 2.5g and 5g ability in the MMD PMA speed
register.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/98e15038-d96c-442f-93e4-410100d27866@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux/mdio.h')
-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 */ |