Skip to content

Commit a6efbe1

Browse files
nbuchwitzpopcornmix
authored andcommitted
net: phy: broadcom: Handle irqs on BCM54213PE
The phy specific structure is missing the pointers for handling interrupts and link change notification. This results in interrupt's being polled on CM5: Fix this and copy the existing pointers from BCM54210E, which match the implementation. Before: [3.501498] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:00] driver [Broadcom BCM54213PE] (irq=POLL) After: [3.597582] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:00] driver [Broadcom BCM54213PE] (irq=168) Signed-off-by: Nicolai Buchwitz <[email protected]>
1 parent ef60ffe commit a6efbe1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/phy/broadcom.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,6 +1513,8 @@ static struct phy_driver broadcom_drivers[] = {
15131513
.probe = bcm54xx_phy_probe,
15141514
.config_init = bcm54xx_config_init,
15151515
.config_intr = bcm_phy_config_intr,
1516+
.handle_interrupt = bcm_phy_handle_interrupt,
1517+
.link_change_notify = bcm54xx_link_change_notify,
15161518
.suspend = bcm54xx_suspend,
15171519
.resume = bcm54xx_resume,
15181520
}, {

0 commit comments

Comments
 (0)