net: phy: smsc: enable edpd tunable support

Enable EDPD PHY tunable support for all drivers using
lan87xx_read_status.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Heiner Kallweit 2023-04-02 17:17:35 +02:00 committed by David S. Miller
parent 657de1cf25
commit 3c4c3b3e6d
1 changed files with 12 additions and 0 deletions

View File

@ -469,6 +469,9 @@ static struct phy_driver smsc_phy_driver[] = {
.get_strings = smsc_get_strings,
.get_stats = smsc_get_stats,
.get_tunable = smsc_phy_get_tunable,
.set_tunable = smsc_phy_set_tunable,
.suspend = genphy_suspend,
.resume = genphy_resume,
}, {
@ -513,6 +516,9 @@ static struct phy_driver smsc_phy_driver[] = {
.get_strings = smsc_get_strings,
.get_stats = smsc_get_stats,
.get_tunable = smsc_phy_get_tunable,
.set_tunable = smsc_phy_set_tunable,
.suspend = genphy_suspend,
.resume = genphy_resume,
}, {
@ -539,6 +545,9 @@ static struct phy_driver smsc_phy_driver[] = {
.get_strings = smsc_get_strings,
.get_stats = smsc_get_stats,
.get_tunable = smsc_phy_get_tunable,
.set_tunable = smsc_phy_set_tunable,
.suspend = genphy_suspend,
.resume = genphy_resume,
}, {
@ -569,6 +578,9 @@ static struct phy_driver smsc_phy_driver[] = {
.get_strings = smsc_get_strings,
.get_stats = smsc_get_stats,
.get_tunable = smsc_phy_get_tunable,
.set_tunable = smsc_phy_set_tunable,
.suspend = genphy_suspend,
.resume = genphy_resume,
} };