diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-10-16 12:15:47 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-18 09:02:24 +0200 |
commit | 1412ea2d2a43867ba27fdad38bf05199e03009d7 (patch) | |
tree | 9c20306693c90e03347d1539af43780c703725d5 /include | |
parent | e28b3b1b67ac935645206f916f9ab026f855163f (diff) | |
download | barebox-1412ea2d2a43867ba27fdad38bf05199e03009d7.tar.gz barebox-1412ea2d2a43867ba27fdad38bf05199e03009d7.tar.xz |
include: linux: ethtool: Add missing *_UNKNOWN constants
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ethtool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index 4d83fe019e..324e40cdeb 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -72,9 +72,12 @@ #define SPEED_2500 2500 #define SPEED_10000 10000 +#define SPEED_UNKNOWN -1 + /* Duplex, half or full. */ #define DUPLEX_HALF 0x00 #define DUPLEX_FULL 0x01 +#define DUPLEX_UNKNOWN 0xff /* Which connector port. */ #define PORT_TP 0x00 |