diff options
author | Zhang Ying-22455 <ying.zhang22455@nxp.com> | 2017-09-01 06:17:27 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:47 (GMT) |
commit | e7216fd65b443651bc9a261f8ce8fb3f6a20af72 (patch) | |
tree | a586ac5361aebdf741ac631edd52b1f4f70e2526 | |
parent | 65d41b6a59ec1eaee84bb9502752569321d52102 (diff) | |
download | linux-e7216fd65b443651bc9a261f8ce8fb3f6a20af72.tar.xz |
net: phy: add 10G fixed-link support
Signed-off-by: Camelia Groza camelia.groza@nxp.com
-rw-r--r-- | drivers/net/phy/swphy.c | 1 |
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: |