diff options
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r-- | include/linux/ethtool.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index ad22a68c2e5d..9de31274341d 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h | |||
@@ -798,8 +798,10 @@ bool ethtool_invalid_flags(struct net_device *dev, u32 data, u32 supported); | |||
798 | * attached to it. The implementation may update the indicator | 798 | * attached to it. The implementation may update the indicator |
799 | * asynchronously or synchronously, but in either case it must return | 799 | * asynchronously or synchronously, but in either case it must return |
800 | * quickly. It is initially called with the argument %ETHTOOL_ID_ACTIVE, | 800 | * quickly. It is initially called with the argument %ETHTOOL_ID_ACTIVE, |
801 | * and must either activate asynchronous updates or return -%EINVAL. | 801 | * and must either activate asynchronous updates and return zero, return |
802 | * If it returns -%EINVAL then it will be called again at intervals with | 802 | * a negative error or return a positive frequency for synchronous |
803 | * indication (e.g. 1 for one on/off cycle per second). If it returns | ||
804 | * a frequency then it will be called again at intervals with the | ||
803 | * argument %ETHTOOL_ID_ON or %ETHTOOL_ID_OFF and should set the state of | 805 | * argument %ETHTOOL_ID_ON or %ETHTOOL_ID_OFF and should set the state of |
804 | * the indicator accordingly. Finally, it is called with the argument | 806 | * the indicator accordingly. Finally, it is called with the argument |
805 | * %ETHTOOL_ID_INACTIVE and must deactivate the indicator. Returns a | 807 | * %ETHTOOL_ID_INACTIVE and must deactivate the indicator. Returns a |