]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: phy: Make phy_basic_t1_features use base100t1.
authorAndrew Lunn <andrew@lunn.ch>
Wed, 22 May 2019 18:47:04 +0000 (20:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2019 00:46:28 +0000 (17:46 -0700)
Now that there is a link mode for 100BaseT1, use it in
phy_basic_t1_features so T1 PHY drivers will indicate this mode via
the Ethtool API.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c

index dcc93a8731744e2e4b3e54e71291893e525e0c1f..5d288da9a3b041d8a7ac9a1658cb1ff2a3505949 100644 (file)
@@ -89,7 +89,7 @@ EXPORT_SYMBOL_GPL(phy_10_100_features_array);
 
 const int phy_basic_t1_features_array[2] = {
        ETHTOOL_LINK_MODE_TP_BIT,
-       ETHTOOL_LINK_MODE_100baseT_Full_BIT,
+       ETHTOOL_LINK_MODE_100baseT1_Full_BIT,
 };
 EXPORT_SYMBOL_GPL(phy_basic_t1_features_array);