summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorZhang Ying-22455 <ying.zhang22455@nxp.com>2017-09-01 06:17:27 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:47 (GMT)
commite7216fd65b443651bc9a261f8ce8fb3f6a20af72 (patch)
treea586ac5361aebdf741ac631edd52b1f4f70e2526 /drivers/net
parent65d41b6a59ec1eaee84bb9502752569321d52102 (diff)
downloadlinux-e7216fd65b443651bc9a261f8ce8fb3f6a20af72.tar.xz
net: phy: add 10G fixed-link support
Signed-off-by: Camelia Groza camelia.groza@nxp.com
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/swphy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/swphy.c b/drivers/net/phy/swphy.c
index 34f58f2..52ddddb 100644
--- a/drivers/net/phy/swphy.c
+++ b/drivers/net/phy/swphy.c
@@ -77,6 +77,7 @@ static const struct swmii_regs duplex[] = {
static int swphy_decode_speed(int speed)
{
switch (speed) {
+ case 10000:
case 1000:
return SWMII_SPEED_1000;
case 100: