summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorAlexandru Tachici <alexandru.tachici@analog.com>2022-04-29 18:34:31 +0300
committerDavid S. Miller <davem@davemloft.net>2022-05-01 19:45:35 +0300
commit3254e0b9eb5649ffaa48717ebc9c593adc4ee6a9 (patch)
treee8d0de76df7185a29c5fb4834ed17e2c09439621 /drivers/net/phy/phy_device.c
parent411a1476ea417c7cce9792b31dbc83cedbad7a41 (diff)
downloadlinux-3254e0b9eb5649ffaa48717ebc9c593adc4ee6a9.tar.xz
ethtool: Add 10base-T1L link mode entry
Add entry for the 10base-T1L full duplex mode. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r--drivers/net/phy/phy_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index f867042b2eb4..1369daeded14 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -90,8 +90,9 @@ const int phy_10_100_features_array[4] = {
};
EXPORT_SYMBOL_GPL(phy_10_100_features_array);
-const int phy_basic_t1_features_array[2] = {
+const int phy_basic_t1_features_array[3] = {
ETHTOOL_LINK_MODE_TP_BIT,
+ ETHTOOL_LINK_MODE_10baseT1L_Full_BIT,
ETHTOOL_LINK_MODE_100baseT1_Full_BIT,
};
EXPORT_SYMBOL_GPL(phy_basic_t1_features_array);