diff options
author | Dimitri Fedrau <dima.fedrau@gmail.com> | 2024-02-18 10:57:38 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-22 01:56:58 +0300 |
commit | 953cc643329b38434bb7d6206951d1a48016e38b (patch) | |
tree | 7b5e274f75c511ae71743a22606ec1e00702b4d0 /include | |
parent | 59f95f5da813db6aee652feafebc7436a3a73b89 (diff) | |
download | linux-953cc643329b38434bb7d6206951d1a48016e38b.tar.xz |
net: phy: Add BaseT1 auto-negotiation constants
Added constants for advertising 100BT1 and 1000BT1 in register BASE-T1
auto-negotiation advertisement register [31:16] (Register 7.515)
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Dimitri Fedrau <dima.fedrau@gmail.com>
Link: https://lore.kernel.org/r/20240218075753.18067-2-dima.fedrau@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 3c9097502403..c0c8ec995b06 100644 --- a/include/uapi/linux/mdio.h +++ b/include/uapi/linux/mdio.h @@ -350,6 +350,8 @@ /* BASE-T1 auto-negotiation advertisement register [31:16] */ #define MDIO_AN_T1_ADV_M_B10L 0x4000 /* device is compatible with 10BASE-T1L */ +#define MDIO_AN_T1_ADV_M_1000BT1 0x0080 /* advertise 1000BASE-T1 */ +#define MDIO_AN_T1_ADV_M_100BT1 0x0020 /* advertise 100BASE-T1 */ #define MDIO_AN_T1_ADV_M_MST 0x0010 /* advertise master preference */ /* BASE-T1 auto-negotiation advertisement register [47:32] */ |