mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
52702cf886
Reading the link state via PHYSTS was incorrect, as it only reflects the link state bit from BMSR. BMSR latches link down events, and are not cleared without being read. (See 802.3-2008 section 2, section 22.2.4.2.13) This leads to the original DP828xx code only supporting link up, then a single link down event. Switch to reading the link state via BMSR, but continuing to read the negotiation results via PHYSTS and ANLPAR. This is inline with LAN8720x, RTL8201, KSZ80xx phy drivers, and other opensource drivers for the DP838xx family of devices. Tested on a private board with a DP83825i PHY. No publically available boards using the original DP83848 are known of for testing. Signed-off-by: Karl Palsson <karl.palsson@marel.com> |
||
---|---|---|
.. | ||
include | ||
src | ||
test_apps | ||
CMakeLists.txt | ||
Kconfig | ||
linker.lf |