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>
This commit is contained in:
Nicolai Buchwitz
2025-07-05 23:36:50 +02:00
committed by Dom Cobley
parent d790ae4ba1
commit 3b96c0ff0c

View File

@@ -1525,6 +1525,8 @@ static struct phy_driver broadcom_drivers[] = {
.probe = bcm54xx_phy_probe, .probe = bcm54xx_phy_probe,
.config_init = bcm54xx_config_init, .config_init = bcm54xx_config_init,
.config_intr = bcm_phy_config_intr, .config_intr = bcm_phy_config_intr,
.handle_interrupt = bcm_phy_handle_interrupt,
.link_change_notify = bcm54xx_link_change_notify,
.suspend = bcm54xx_suspend, .suspend = bcm54xx_suspend,
.resume = bcm54xx_resume, .resume = bcm54xx_resume,
}, { }, {