Skip to content

Commit 720694e

Browse files
nbuchwitzpelwell
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 <nb@tipi-net.de>
1 parent 4905662 commit 720694e

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
@@ -1484,6 +1484,8 @@ static struct phy_driver broadcom_drivers[] = {
14841484
.probe = bcm54xx_phy_probe,
14851485
.config_init = bcm54xx_config_init,
14861486
.config_intr = bcm_phy_config_intr,
1487+
.handle_interrupt = bcm_phy_handle_interrupt,
1488+
.link_change_notify = bcm54xx_link_change_notify,
14871489
.suspend = bcm54xx_suspend,
14881490
.resume = bcm54xx_resume,
14891491
}, {

0 commit comments

Comments
 (0)