OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7331d1d
)
net: phylink: Add 5gbase-r support
author
Marek Behún
<kabel@kernel.org>
Tue, 16 Feb 2021 19:20:54 +0000
(20:20 +0100)
committer
David S. Miller
<davem@davemloft.net>
Tue, 16 Feb 2021 22:15:12 +0000
(14:15 -0800)
Add 5GBASER interface type and speed to phylink.
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/phylink.c
b/drivers/net/phy/phylink.c
index
84f6e19
..
053c92e
100644
(file)
--- a/
drivers/net/phy/phylink.c
+++ b/
drivers/net/phy/phylink.c
@@
-306,6
+306,10
@@
static int phylink_parse_mode(struct phylink *pl, struct fwnode_handle *fwnode)
phylink_set(pl->supported, 2500baseX_Full);
break;
+ case PHY_INTERFACE_MODE_5GBASER:
+ phylink_set(pl->supported, 5000baseT_Full);
+ break;
+
case PHY_INTERFACE_MODE_USXGMII:
case PHY_INTERFACE_MODE_10GKR:
case PHY_INTERFACE_MODE_10GBASER: