]> granicus.if.org Git - esp-idf/commit
ethernet: phy init timeout
authormorris <maoshengrong@espressif.com>
Tue, 4 Dec 2018 09:13:48 +0000 (17:13 +0800)
committermorris <maoshengrong@espressif.com>
Tue, 4 Dec 2018 09:13:48 +0000 (17:13 +0800)
commitdc043109d76ea72ef4d588a64b11e18dfcb8d9d3
tree89bcef0b33965367540676e67b2044a6a4401294
parentd6ee27e313cf1ddff378517d9629c5f946c34066
ethernet: phy init timeout

When ethernet enable again after disable it before, phy init will report timeout.
The cause of this problem is that the enabling of emac clock is too late, and should be placed before phy init.
components/ethernet/emac_main.c