summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorxiaofan <[email protected]>2019-09-03 18:28:58 +0800
committerxiaofan <[email protected]>2019-09-03 18:51:09 +0800
commit7676b5e69b01b0dab3a12f2ebb1df278ff2bf10f (patch)
treef55498fa04f05f01c608815c92c68a02a7acd20d /libcpu
parent37fe581be4c043156d0b74fe875d875164c63e08 (diff)
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 <[email protected]>
Diffstat (limited to 'libcpu')
0 files changed, 0 insertions, 0 deletions