Commit Graph

6 Commits

Author SHA1 Message Date
xiaofan 65afdf050a STM32 Ethernet driver: Add DP83848C support
Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-03 18:51:53 +08:00
xiaofan 7676b5e69b Optimize STM32 Ethernet Drvier
1. Add phy_linkchange function to simplify eth_phy_isr and phy_monitor_thread_entry
2. phy_speed is uint8_t may case some problems, use enumeration instead of hardware-dependent values
3. Fix eth_phy_isr can not detect link up
4. Use macro to check phy status for flexibility

Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-03 18:51:09 +08:00
xiaofan 37fe581be4 Fix STM32 Ethernet Driver Spelling Mistake
Rename PHY_INTERRUPT_MSAK_REG to PHY_INTERRUPT_MASK_REG

Signed-off-by: xiaofan <xfan1024@live.com>
2019-09-03 18:50:45 +08:00
SummerGift 40a474fefa [bsp][stm32] optimize eth driver 2019-01-08 14:01:27 +08:00
SummerGift 710f82d46b [bsp][stm32] optimize falsh && eth driver 2018-12-28 14:16:49 +08:00
SummerGift 7279078005 [bsp][stm32] update drv_eth 2018-12-26 10:17:33 +08:00