]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: phy: DP83TC811: add reading of abilities
authorSven Schuchmann <schuchmann@schleissheimer.de>
Tue, 12 May 2026 07:19:47 +0000 (09:19 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 14 May 2026 13:17:12 +0000 (15:17 +0200)
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>
drivers/net/phy/dp83tc811.c

index e480c2a0745057ed8c4f643e654a021d327e8c7f..252fb12b3e68eb529c94816e9d5ae2d842a2d1e4 100644 (file)
@@ -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,