]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: phy: micrel: enable interrupt for ksz9477 phy
authorArun Ramadoss <arun.ramadoss@microchip.com>
Thu, 22 Sep 2022 07:10:28 +0000 (12:40 +0530)
committerJakub Kicinski <kuba@kernel.org>
Mon, 26 Sep 2022 19:42:02 +0000 (12:42 -0700)
Config_intr and handle_interrupt are enabled for ksz9477 phy. It is
similar to all other phys in the micrel phys.

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/micrel.c

index 6a8c740dce65602aef757fe2b0305c73c5714de2..3757e069c486c9aea05d9816b841d9b0a72c1ece 100644 (file)
@@ -3348,6 +3348,8 @@ static struct phy_driver ksphy_driver[] = {
        .name           = "Microchip KSZ9477",
        /* PHY_GBIT_FEATURES */
        .config_init    = kszphy_config_init,
+       .config_intr    = kszphy_config_intr,
+       .handle_interrupt = kszphy_handle_interrupt,
        .suspend        = genphy_suspend,
        .resume         = genphy_resume,
 } };