zephyr/drivers/ethernet/nxp_enet
Declan Snyder c1398250e9 drivers: nxp_enet: Check link state in iface init
Still mark the iface as down after ethernet_init, but then actually
check the link state and initialize carrier appropriately

This fixes the case where, the phy driver doesn't give a callback after
iface init due to the link already being up, there was no change from
the phy driver perspective, so callback  wouldn't happen, and therefore
the interface could remain marked as down after boot even if carrier is up.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-11-13 09:07:59 -06:00
..
CMakeLists.txt
Kconfig
eth_mcux.c
eth_nxp_enet.c drivers: nxp_enet: Check link state in iface init 2024-11-13 09:07:59 -06:00