summaryrefslogtreecommitdiff
path: root/drivers/net/phy/teranetics.c
diff options
context:
space:
mode:
authorCamelia Groza <camelia.groza@nxp.com>2019-01-17 14:33:33 +0200
committerDavid S. Miller <davem@davemloft.net>2019-01-17 22:03:25 -0800
commit40f89ebfbd73fc9439ae8d4950f60226ad176690 (patch)
treef0f96d9fa773fafe55fa03cf2146b4d5b1c7299f /drivers/net/phy/teranetics.c
parentc6ddfb9a963f0cac0f7365acfc87f3f3b33a3b69 (diff)
net: phy: add missing phy driver features
The phy drivers for CS4340 and TN2020 are missing their features attributes. Add them. Fixes: 719655a14971 ("net: phy: Replace phy driver features u32 with link_mode bitmap") Reported-by: Scott Wood <oss@buserror.net> Signed-off-by: Camelia Groza <camelia.groza@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/teranetics.c')
-rw-r--r--drivers/net/phy/teranetics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/teranetics.c b/drivers/net/phy/teranetics.c
index 22f3bdd8206c..91247182bc52 100644
--- a/drivers/net/phy/teranetics.c
+++ b/drivers/net/phy/teranetics.c
@@ -80,6 +80,7 @@ static struct phy_driver teranetics_driver[] = {
.phy_id = PHY_ID_TN2020,
.phy_id_mask = 0xffffffff,
.name = "Teranetics TN2020",
+ .features = PHY_10GBIT_FEATURES,
.soft_reset = gen10g_no_soft_reset,
.aneg_done = teranetics_aneg_done,
.config_init = gen10g_config_init,