Skip to content

Commit 953cc64

Browse files
Dimitri Fedraukuba-moo
authored andcommitted
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 <[email protected]> Signed-off-by: Dimitri Fedrau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 59f95f5 commit 953cc64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/uapi/linux/mdio.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@
350350

351351
/* BASE-T1 auto-negotiation advertisement register [31:16] */
352352
#define MDIO_AN_T1_ADV_M_B10L 0x4000 /* device is compatible with 10BASE-T1L */
353+
#define MDIO_AN_T1_ADV_M_1000BT1 0x0080 /* advertise 1000BASE-T1 */
354+
#define MDIO_AN_T1_ADV_M_100BT1 0x0020 /* advertise 100BASE-T1 */
353355
#define MDIO_AN_T1_ADV_M_MST 0x0010 /* advertise master preference */
354356

355357
/* BASE-T1 auto-negotiation advertisement register [47:32] */

0 commit comments

Comments
 (0)