diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/ethtool.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index 3652b239dad1..50c76f4fa402 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h | |||
| @@ -252,9 +252,17 @@ struct ethtool_tunable { | |||
| 252 | #define DOWNSHIFT_DEV_DEFAULT_COUNT 0xff | 252 | #define DOWNSHIFT_DEV_DEFAULT_COUNT 0xff |
| 253 | #define DOWNSHIFT_DEV_DISABLE 0 | 253 | #define DOWNSHIFT_DEV_DISABLE 0 |
| 254 | 254 | ||
| 255 | /* Time in msecs after which link is reported as down | ||
| 256 | * 0 = lowest time supported by the PHY | ||
| 257 | * 0xff = off, link down detection according to standard | ||
| 258 | */ | ||
| 259 | #define ETHTOOL_PHY_FAST_LINK_DOWN_ON 0 | ||
| 260 | #define ETHTOOL_PHY_FAST_LINK_DOWN_OFF 0xff | ||
| 261 | |||
| 255 | enum phy_tunable_id { | 262 | enum phy_tunable_id { |
| 256 | ETHTOOL_PHY_ID_UNSPEC, | 263 | ETHTOOL_PHY_ID_UNSPEC, |
| 257 | ETHTOOL_PHY_DOWNSHIFT, | 264 | ETHTOOL_PHY_DOWNSHIFT, |
| 265 | ETHTOOL_PHY_FAST_LINK_DOWN, | ||
| 258 | /* | 266 | /* |
| 259 | * Add your fresh new phy tunable attribute above and remember to update | 267 | * Add your fresh new phy tunable attribute above and remember to update |
| 260 | * phy_tunable_strings[] in net/core/ethtool.c | 268 | * phy_tunable_strings[] in net/core/ethtool.c |
