Skip to content

Commit 3ba0262

Browse files
Russell King (Oracle)kuba-moo
authored andcommitted
net: mdio: add definition for clock stop capable bit
Add a definition for the clock stop capable bit in the PCS MMD. This bit indicates whether the MAC is able to stop the transmit xMII clock while it is signalling LPI. Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 6da7a0f commit 3ba0262

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/linux/mdio.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
#define MDIO_STAT1_LPOWERABLE 0x0002 /* Low-power ability */
126126
#define MDIO_STAT1_LSTATUS BMSR_LSTATUS
127127
#define MDIO_STAT1_FAULT 0x0080 /* Fault */
128+
#define MDIO_PCS_STAT1_CLKSTOP_CAP 0x0040
128129
#define MDIO_AN_STAT1_LPABLE 0x0001 /* Link partner AN ability */
129130
#define MDIO_AN_STAT1_ABLE BMSR_ANEGCAPABLE
130131
#define MDIO_AN_STAT1_RFAULT BMSR_RFAULT

0 commit comments

Comments
 (0)