net: phy: marvell: add downshift support for 88E1145
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 29 Oct 2019 19:25:26 +0000 (20:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 00:35:56 +0000 (17:35 -0700)
Add downshift support for 88E1145, it uses the same downshift
configuration registers as 88E1111.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c

index cb6570ac618a1edfb9dc232e645b1d4e1c28b134..b1fbd193732893952af194e4f470b1430de86521 100644 (file)
@@ -2394,6 +2394,9 @@ static struct phy_driver marvell_drivers[] = {
                .get_sset_count = marvell_get_sset_count,
                .get_strings = marvell_get_strings,
                .get_stats = marvell_get_stats,
+               .get_tunable = m88e1111_get_tunable,
+               .set_tunable = m88e1111_set_tunable,
+               .link_change_notify = m88e1011_link_change_notify,
        },
        {
                .phy_id = MARVELL_PHY_ID_88E1149R,