summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kochetkov <fido_max@inbox.ru>2021-04-28 12:53:56 +0300
committerJakub Kicinski <kuba@kernel.org>2021-04-28 13:58:11 -0700
commit65ad85f63b15af6995473724ab8562772db22753 (patch)
tree14c749e6296611f73bffce8993617c86e514c450
parent12c2bb96c3f1916624d671904430b7714b48dd71 (diff)
net: phy: marvell: add downshift support for M88E1240
Add downshift support for 88E1240, it uses the same downshift configuration registers as 88E1011. Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> Link: https://lore.kernel.org/r/20210428095356.621536-1-fido_max@inbox.ru Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--drivers/net/phy/marvell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index a61fde7013bd..0b2cccb0d865 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -2870,6 +2870,8 @@ 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 = m88e1011_get_tunable,
+ .set_tunable = m88e1011_set_tunable,
},
{
.phy_id = MARVELL_PHY_ID_88E1116R,