-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Copy link
Labels
area: EthernetbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
When a fixed link is configured, the eth_nxp_enet
driver calls ret = phy_configure_link(phy, speeds, 0);
(line 475), and it expects to receive -ENOTSUP
. However, this behavior is likely broken after this commit, because the phy_configure_link
function now checks whether DEVICE_API_GET(ethphy, dev)->cfg_link == NULL
and returns -ENOSYS
instead. As a result, the driver's initialization fails, causing Ethernet to become non-functional.
Regression
- This is a regression.
Steps to reproduce
No response
Relevant log output
<err> eth_nxp_enet_mac: phy_configure_link failed with error: -88
Impact
Major – Severely degrades functionality; workaround is difficult or unavailable.
Environment
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
area: EthernetbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: mediumMedium impact/importance bugMedium impact/importance bug