Skip to content

Commit 262caf4

Browse files
hkallweitdavem330
authored andcommitted
net: phy: marvell: add PHY tunable support for more PHY versions
More PHY versions are compatible with the existing downshift implementation, so let's add downshift support for them. Signed-off-by: Heiner Kallweit <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5c6bc51 commit 262caf4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/net/phy/marvell.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2287,6 +2287,9 @@ static struct phy_driver marvell_drivers[] = {
22872287
.get_sset_count = marvell_get_sset_count,
22882288
.get_strings = marvell_get_strings,
22892289
.get_stats = marvell_get_stats,
2290+
.get_tunable = m88e1011_get_tunable,
2291+
.set_tunable = m88e1011_set_tunable,
2292+
.link_change_notify = m88e1011_link_change_notify,
22902293
},
22912294
{
22922295
.phy_id = MARVELL_PHY_ID_88E1111,
@@ -2444,6 +2447,9 @@ static struct phy_driver marvell_drivers[] = {
24442447
.get_sset_count = marvell_get_sset_count,
24452448
.get_strings = marvell_get_strings,
24462449
.get_stats = marvell_get_stats,
2450+
.get_tunable = m88e1011_get_tunable,
2451+
.set_tunable = m88e1011_set_tunable,
2452+
.link_change_notify = m88e1011_link_change_notify,
24472453
},
24482454
{
24492455
.phy_id = MARVELL_PHY_ID_88E1510,
@@ -2467,6 +2473,9 @@ static struct phy_driver marvell_drivers[] = {
24672473
.get_strings = marvell_get_strings,
24682474
.get_stats = marvell_get_stats,
24692475
.set_loopback = genphy_loopback,
2476+
.get_tunable = m88e1011_get_tunable,
2477+
.set_tunable = m88e1011_set_tunable,
2478+
.link_change_notify = m88e1011_link_change_notify,
24702479
},
24712480
{
24722481
.phy_id = MARVELL_PHY_ID_88E1540,
@@ -2510,6 +2519,9 @@ static struct phy_driver marvell_drivers[] = {
25102519
.get_sset_count = marvell_get_sset_count,
25112520
.get_strings = marvell_get_strings,
25122521
.get_stats = marvell_get_stats,
2522+
.get_tunable = m88e1540_get_tunable,
2523+
.set_tunable = m88e1540_set_tunable,
2524+
.link_change_notify = m88e1011_link_change_notify,
25132525
},
25142526
{
25152527
.phy_id = MARVELL_PHY_ID_88E3016,

0 commit comments

Comments
 (0)