summaryrefslogtreecommitdiff
path: root/drivers/net/davinci_emac.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-10 12:01:02 -0400
committerTom Rini <trini@konsulko.com>2017-06-28 11:43:39 -0400
commitde8203653f80eb77dc446dd3c67de2269ed03516 (patch)
tree3bb7486db5d2a2c863d4c11b08f5c7145545d903 /drivers/net/davinci_emac.h
parent08546df976b79b1694af3ff12b26baf2931f371a (diff)
ti816x: Enable ethernet support
The ti816x SoC revision of the ethernet IP block is handled by the "davinci_emac" driver, rather than the "cpsw" driver as done by later members of the family. Enable the relevant plumbing. Signed-off-by: Sriramakrishnan <srk@ti.com> Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/net/davinci_emac.h')
-rw-r--r--drivers/net/davinci_emac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/davinci_emac.h b/drivers/net/davinci_emac.h
index 13cd68f040..e2ed54bac5 100644
--- a/drivers/net/davinci_emac.h
+++ b/drivers/net/davinci_emac.h
@@ -40,6 +40,8 @@
/* MII Status Register */
#define MII_STATUS_REG 1
+/* PHY Configuration register */
+#define PHY_CONF_TXCLKEN (1 << 5)
/* Number of statistics registers */
#define EMAC_NUM_STATS 36