Re: [PATCH net v4] net: ibm: emac: attach and start the fixed-link PHY
From: Andrew Lunn
Date: Sat Nov 28 2026 - 11:04:36 EST
On Fri, Nov 27, 2026 at 09:47:48AM +0800, Linkui Xiao wrote:
> From: Linkui Xiao <xiaolinkui@xxxxxxxxxx>
>
> emac_init_phy() sets ndev->phydev by hand for a fixed link, so
> phy_attach_direct() never runs. The PHY is missing from the netdev's PHY
> link topology and ETHTOOL_MSG_PHY_GET dereferences the NULL link_topo in
> phy_prepare_data().
The size and complexity of this change is snowballing. Without having
hardware to test on, i'm wondering if it is better to just leave it
broken. I don't think any user has reported it, so it does not bother
anybody.
What really needs to happen is a complete rewrite, and that definitely
needs hardware.
Andrew