Skip to content

Commit

Permalink
dt-bindings: net: add EEE capability constants
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jbrunet authored and David S. Miller committed Nov 30, 2016
1 parent d853d14 commit 1fc3135
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions include/dt-bindings/net/mdio.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1fc3135

Please sign in to comment.