summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-da8xx/emac_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-da8xx/emac_defs.h')
-rw-r--r--include/asm-arm/arch-da8xx/emac_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/arch-da8xx/emac_defs.h b/include/asm-arm/arch-da8xx/emac_defs.h
index 6fe67f2e11..676c152b66 100644
--- a/include/asm-arm/arch-da8xx/emac_defs.h
+++ b/include/asm-arm/arch-da8xx/emac_defs.h
@@ -328,4 +328,8 @@ typedef struct
int (*auto_negotiate)(int phy_addr);
} phy_t;
+/* Generic phy definitions */
+#define GEN_PHY_STATUS_SPEED100_MASK ((1 << 13) | (1 << 14))
+#define GEN_PHY_STATUS_FD_MASK ((1 << 11) | (1 << 13))
+
#endif /* _DM644X_EMAC_H_ */