Re: [PATCH v2 10/19] net: phy: Use the compatibility driver attachment API
From: Andrew Lunn
Date: Mon Nov 09 2026 - 08:53:52 EST
> @@ -1956,11 +1958,10 @@ int phy_attach_direct(struct net_device *dev, struct phy_device *phydev,
> }
> phydev->drv_owner = drv_owner;
>
> - if (phydev->is_genphy_driven) {
> - err = d->driver->probe(d);
> - if (err >= 0)
> - err = device_bind_driver(d);
> -
> + if (bind_genphy) {
> + err = device_driver_attach_full(drv, d);
> + if (err == -EBUSY)
> + irq = phydev->irq;
Just looking at this, it is not clear where the EBUSY can from? And
why set irq to phydev->irq?
Andrew