Skip to content

<err> eth_nxp_enet_mac: phy_configure_link failed with error: -88 #92399

@ofirshe

Description

@ofirshe

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

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions