aboutsummaryrefslogtreecommitdiff
path: root/include/tsec.h
diff options
context:
space:
mode:
authorPeter Tyser2009-11-09 13:09:48 -0600
committerBen Warren2010-01-31 22:34:34 -0800
commit5f6b1442218fcb6a3ef0d2be05d84119cebfe0ae (patch)
treeb0f19fb69f8a91e1e3ff1d1bbddaea9fe3e50f98 /include/tsec.h
parent8abb8dcc8d6f2a9e31551a6fa41de97bd1f15350 (diff)
tsec: Add TSEC_FIBER flag
The TSEC_FIBER flag should be set when a PHY is operating with an external fiber interface. Currently it is only used to notify a user that the PHY is operating in fiber mode. A short description was also added to the other TSEC flag defines so that it is clear how they differ from one another. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/tsec.h')
-rw-r--r--include/tsec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tsec.h b/include/tsec.h
index b2e37d4323b..1e903659eba 100644
--- a/include/tsec.h
+++ b/include/tsec.h
@@ -584,9 +584,9 @@ typedef struct tsec
/* This flag currently only has
* meaning if we're using the eTSEC */
-#define TSEC_REDUCED (1 << 1)
-
-#define TSEC_SGMII (1 << 2)
+#define TSEC_REDUCED (1 << 1) /* MAC-PHY interface uses RGMII */
+#define TSEC_SGMII (1 << 2) /* MAC-PHY interface uses SGMII */
+#define TSEC_FIBER (1 << 3) /* PHY uses fiber, eg 1000 Base-X */
struct tsec_private {
volatile tsec_t *regs;