Kinetis enet: set the MII_MODE bit. The RM states that this bit should always be 1.
This commit is contained in:
parent
36408697ca
commit
a118233a59
@ -1343,10 +1343,12 @@ static inline void kinetis_initphy(struct kinetis_driver_s *priv)
|
||||
|
||||
#ifdef CONFIG_ENET_USEMII
|
||||
rcr = ENET_RCR_MII_MODE | ENET_RCR_CRCFWD |
|
||||
CONFIG_NET_ETH_MTU << ENET_RCR_MAX_FL_SHIFT;
|
||||
CONFIG_NET_ETH_MTU << ENET_RCR_MAX_FL_SHIFT |
|
||||
ENET_RCR_MII_MODE;
|
||||
#else
|
||||
rcr = ENET_RCR_RMII_MODE | ENET_RCR_CRCFWD |
|
||||
CONFIG_NET_ETH_MTU << ENET_RCR_MAX_FL_SHIFT;
|
||||
CONFIG_NET_ETH_MTU << ENET_RCR_MAX_FL_SHIFT |
|
||||
ENET_RCR_MII_MODE;
|
||||
#endif
|
||||
tcr = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user