]> granicus.if.org Git - esp-idf/commit
ethernet: fix infinite loop when init phy or reset mac
authormorris <maoshengrong@espressif.com>
Wed, 19 Sep 2018 02:45:53 +0000 (10:45 +0800)
committermorris <maoshengrong@espressif.com>
Thu, 20 Sep 2018 02:09:38 +0000 (10:09 +0800)
commit20b7f0ec878b8bd3058e0084f8a707acdb980e65
tree350c1c18e0addca7fda3bc72a7aa0652281e4252
parent930ddf2b2c597c7af312e142cb0ee45fb6bf12b2
ethernet: fix infinite loop when init phy or reset mac

1. fix infinite loop problem when init phy device
2. fix infinite loop problem when reset mac
3. fix little bugs in ethernetif_init
4. fix incompatible return value between lwip and esp-idf

Closes https://github.com/espressif/esp-idf/issues/2331
Closes https://github.com/espressif/esp-idf/issues/2141
components/ethernet/emac_common.h
components/ethernet/emac_dev.c
components/ethernet/emac_dev.h
components/ethernet/emac_main.c
components/ethernet/eth_phy/phy_lan8720.c
components/ethernet/eth_phy/phy_tlk110.c
components/ethernet/include/esp_eth.h
components/ethernet/include/eth_phy/phy_lan8720.h
components/ethernet/include/eth_phy/phy_tlk110.h
components/lwip/port/esp32/netif/ethernetif.c