Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: ethernet: nxp_enet: Handle -ENOTSUP for fixed-link in phy_co… #87242

Conversation

ofirshe
Copy link
Contributor

@ofirshe ofirshe commented Mar 17, 2025

Modified nxp_enet_phy_configure to handle -ENOTSUP returned by the PHY driver, indicating a fixed-link setup. If -ENOTSUP is returned, a warning is logged, and PHY configuration is skipped without causing initialization to fail.

depends on 87238
Fixes 87237

@ofirshe ofirshe force-pushed the nxp-enet-fix-driver-initialization-for-fixed-link-phy branch from 33e195c to ff6eadb Compare March 18, 2025 05:41
@ofirshe ofirshe requested a review from decsny March 18, 2025 05:42
@ofirshe ofirshe force-pushed the nxp-enet-fix-driver-initialization-for-fixed-link-phy branch from ff6eadb to 02e5c9f Compare March 18, 2025 05:46
…nfig

Modified nxp_enet_phy_configure to handle -ENOTSUP returned by the PHY
driver, indicating a fixed-link setup. If -ENOTSUP is returned, a warning
is logged, and PHY configuration is skipped without causing initialization
to fail.

Signed-off-by: Ofir Shemesh <ofirshemesh777@gmail.com>
@ofirshe ofirshe force-pushed the nxp-enet-fix-driver-initialization-for-fixed-link-phy branch from 02e5c9f to 4cafc01 Compare March 18, 2025 07:48
@ofirshe ofirshe requested a review from maass-hamburg March 18, 2025 07:49
@nashif nashif merged commit 2eabbcc into zephyrproject-rtos:main Mar 19, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Ethernet platform: NXP Drivers NXP Semiconductors, drivers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NXP_ENET driver initialization fails with fixed link phy_mii
5 participants