Re: [PATCH net-next 2/3] net: ethernet: oa_tc6: deliver the PHY interrupt to phylib

From: Andrew Lunn

Date: Fri Sep 04 2026 - 09:45:08 EST


> + /* Populate all irq[] entries before registration so
> + * phy_device_create() picks up the virtual IRQ regardless of
> + * the PHY's MDIO address.
> + */
> + for (i = 0; i < PHY_MAX_ADDR; i++)
> + tc6->mdiobus->irq[i] = tc6->phy_virq;

Yes, or just a memcpy().

Andrew