summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Schuchmann <schuchmann@schleissheimer.de>2026-05-12 10:19:47 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-05-14 16:17:12 +0300
commitc78bdba7b9666020c0832150a4fc4c0aebc7c6ac (patch)
tree66343406f27a0f62aa7c29fc8259ad8ea5d5ba58
parentff26a0e8377dec07e4a7230db7675bed1b9a6d03 (diff)
downloadlinux-c78bdba7b9666020c0832150a4fc4c0aebc7c6ac.tar.xz
net: phy: DP83TC811: add reading of abilities
At this time the driver is not listing any speeds it supports. This should be ETHTOOL_LINK_MODE_100baseT1_Full_BIT for DP83TC811. Add the missing call for phylib to read the abilities. Fixes: b753a9faaf9a ("net: phy: DP83TC811: Introduce support for the DP83TC811 phy") Suggested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Sven Schuchmann <schuchmann@schleissheimer.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20260512071949.6218-1-schuchmann@schleissheimer.de [pabeni@redhat.com: dropped revision history] Signed-off-by: Paolo Abeni <pabeni@redhat.com>
-rw-r--r--drivers/net/phy/dp83tc811.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/dp83tc811.c b/drivers/net/phy/dp83tc811.c
index e480c2a07450..252fb12b3e68 100644
--- a/drivers/net/phy/dp83tc811.c
+++ b/drivers/net/phy/dp83tc811.c
@@ -393,6 +393,7 @@ static struct phy_driver dp83811_driver[] = {
.config_init = dp83811_config_init,
.config_aneg = dp83811_config_aneg,
.soft_reset = dp83811_phy_reset,
+ .get_features = genphy_c45_pma_read_ext_abilities,
.get_wol = dp83811_get_wol,
.set_wol = dp83811_set_wol,
.config_intr = dp83811_config_intr,