OSDN Git Service

net: phy: add missing phy driver features
authorCamelia Groza <camelia.groza@nxp.com>
Thu, 17 Jan 2019 12:33:33 +0000 (14:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 06:03:25 +0000 (22:03 -0800)
commit40f89ebfbd73fc9439ae8d4950f60226ad176690
treef0f96d9fa773fafe55fa03cf2146b4d5b1c7299f
parentc6ddfb9a963f0cac0f7365acfc87f3f3b33a3b69
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>
drivers/net/phy/cortina.c
drivers/net/phy/teranetics.c