Thread (13 messages) flat view 13 messages, 2 authors, 15h ago

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

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-09-04 13:07:41
Also in: lkml

+     /* 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help