1 From 6c06c88fa838fcc1b7e5380facd086f57fd9d1c4 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@kernel.org>
3 Date: Sun, 4 Feb 2024 15:16:46 +0100
4 Subject: [PATCH] net: mdio: add 2.5g and 5g related PMA speed constants
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Add constants indicating 2.5g and 5g ability in the MMD PMA speed
12 Signed-off-by: Marek BehĂșn <kabel@kernel.org>
13 Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
14 Link: https://lore.kernel.org/r/98e15038-d96c-442f-93e4-410100d27866@gmail.com
15 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
17 include/uapi/linux/mdio.h | 2 ++
18 1 file changed, 2 insertions(+)
20 --- a/include/uapi/linux/mdio.h
21 +++ b/include/uapi/linux/mdio.h
23 #define MDIO_PMA_SPEED_1000 0x0010 /* 1000M capable */
24 #define MDIO_PMA_SPEED_100 0x0020 /* 100M capable */
25 #define MDIO_PMA_SPEED_10 0x0040 /* 10M capable */
26 +#define MDIO_PMA_SPEED_2_5G 0x2000 /* 2.5G capable */
27 +#define MDIO_PMA_SPEED_5G 0x4000 /* 5G capable */
28 #define MDIO_PCS_SPEED_10P2B 0x0002 /* 10PASS-TS/2BASE-TL capable */
29 #define MDIO_PCS_SPEED_2_5G 0x0040 /* 2.5G capable */
30 #define MDIO_PCS_SPEED_5G 0x0080 /* 5G capable */