diff options
| author | Ben Hutchings <ben@decadent.org.uk> | 2014-02-12 17:14:07 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-02-12 17:33:02 -0500 |
| commit | 02d59f3fdb6a5d77a12549482811d404842e2c95 (patch) | |
| tree | 9f208245cf41f06071f797ca841b9c777b3ab444 /include/uapi/linux | |
| parent | daba1b6bc1cb89c462bdd444c29c023dda3459e6 (diff) | |
ethtool: Expand documentation of struct ethtool_wol
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/ethtool.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index cc523cb53b07..15a42de87fec 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h | |||
| @@ -186,12 +186,21 @@ struct ethtool_drvinfo { | |||
| 186 | }; | 186 | }; |
| 187 | 187 | ||
| 188 | #define SOPASS_MAX 6 | 188 | #define SOPASS_MAX 6 |
| 189 | /* wake-on-lan settings */ | 189 | |
| 190 | /** | ||
| 191 | * struct ethtool_wolinfo - Wake-On-Lan configuration | ||
| 192 | * @cmd: Command number = %ETHTOOL_GWOL or %ETHTOOL_SWOL | ||
| 193 | * @supported: Bitmask of %WAKE_* flags for supported Wake-On-Lan modes. | ||
| 194 | * Read-only. | ||
| 195 | * @wolopts: Bitmask of %WAKE_* flags for enabled Wake-On-Lan modes. | ||
| 196 | * @sopass: SecureOn(tm) password; meaningful only if %WAKE_MAGICSECURE | ||
| 197 | * is set in @wolopts. | ||
| 198 | */ | ||
| 190 | struct ethtool_wolinfo { | 199 | struct ethtool_wolinfo { |
| 191 | __u32 cmd; | 200 | __u32 cmd; |
| 192 | __u32 supported; | 201 | __u32 supported; |
| 193 | __u32 wolopts; | 202 | __u32 wolopts; |
| 194 | __u8 sopass[SOPASS_MAX]; /* SecureOn(tm) password */ | 203 | __u8 sopass[SOPASS_MAX]; |
| 195 | }; | 204 | }; |
| 196 | 205 | ||
| 197 | /* for passing single values */ | 206 | /* for passing single values */ |
