net: phy: micrel: add Microchip KSZ 9477 to the device table
authorEnguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Fri, 21 Jun 2024 14:43:20 +0000 (16:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Jun 2024 09:06:58 +0000 (10:06 +0100)
PHY_ID_KSZ9477 was supported but not added to the device table passed to
MODULE_DEVICE_TABLE.

Fixes: fc3973a1fa09 ("phy: micrel: add Microchip KSZ 9477 Switch PHY support")
Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c

index 5aada7c..ebafedd 100644 (file)
@@ -5607,6 +5607,7 @@ static struct mdio_device_id __maybe_unused micrel_tbl[] = {
        { PHY_ID_KSZ8081, MICREL_PHY_ID_MASK },
        { PHY_ID_KSZ8873MLL, MICREL_PHY_ID_MASK },
        { PHY_ID_KSZ886X, MICREL_PHY_ID_MASK },
+       { PHY_ID_KSZ9477, MICREL_PHY_ID_MASK },
        { PHY_ID_LAN8814, MICREL_PHY_ID_MASK },
        { PHY_ID_LAN8804, MICREL_PHY_ID_MASK },
        { PHY_ID_LAN8841, MICREL_PHY_ID_MASK },