diff options
author | jbrunet <jbrunet@baylibre.com> | 2016-11-28 10:46:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-29 19:38:31 -0500 |
commit | 1fc31357ad194fb98691f3d122bcd47e59239e83 (patch) | |
tree | 4e5332124367d4bc79bf342d881ed4362e3f9cd9 /include | |
parent | d853d145ea3e63387a2ac759aa41d5e43876e561 (diff) | |
download | linux-stable-1fc31357ad194fb98691f3d122bcd47e59239e83.tar.gz linux-stable-1fc31357ad194fb98691f3d122bcd47e59239e83.tar.bz2 linux-stable-1fc31357ad194fb98691f3d122bcd47e59239e83.zip |
dt-bindings: net: add EEE capability constants
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/net/mdio.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/net/mdio.h b/include/dt-bindings/net/mdio.h new file mode 100644 index 000000000000..99c6d903d439 --- /dev/null +++ b/include/dt-bindings/net/mdio.h @@ -0,0 +1,19 @@ +/* + * This header provides generic constants for ethernet MDIO bindings + */ + +#ifndef _DT_BINDINGS_NET_MDIO_H +#define _DT_BINDINGS_NET_MDIO_H + +/* + * EEE capability Advertisement + */ + +#define MDIO_EEE_100TX 0x0002 /* 100TX EEE cap */ +#define MDIO_EEE_1000T 0x0004 /* 1000T EEE cap */ +#define MDIO_EEE_10GT 0x0008 /* 10GT EEE cap */ +#define MDIO_EEE_1000KX 0x0010 /* 1000KX EEE cap */ +#define MDIO_EEE_10GKX4 0x0020 /* 10G KX4 EEE cap */ +#define MDIO_EEE_10GKR 0x0040 /* 10G KR EEE cap */ + +#endif |