[OpenWrt-Devel] [PATCH v2 1/2 netifd] system-linux: add 2.5 and 10G interface speed definitions

jwh at corp.connectbit.io jwh at corp.connectbit.io
Wed Jun 27 17:14:32 EDT 2018


From: Joe Holden <jwh at zorins.co.uk>

Signed-off-by: Joe Holden <jwh at zorins.co.uk>
---
 system-linux.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/system-linux.c b/system-linux.c
index 0127b01..1330ea1 100644
--- a/system-linux.c
+++ b/system-linux.c
@@ -1688,6 +1688,8 @@ static const struct {
 	{ ADVERTISED_100baseT_Full, "100F" },
 	{ ADVERTISED_1000baseT_Half, "1000H" },
 	{ ADVERTISED_1000baseT_Full, "1000F" },
+	{ ADVERTISED_2500baseX_Full, "2500F" },
+	{ ADVERTISED_10000baseT_Full, "10000F" },
 };
 
 static void system_add_link_modes(struct blob_buf *b, __u32 mask)
-- 
2.18.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list