[PATCH 3/3] ethtool: add 0x16 and 0x1c extended compliance codes
From: Russell King <hidden>
Date: 2019-10-18 20:31:38
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Russell King <hidden>
Date: 2019-10-18 20:31:38
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Russell King <redacted> 0x16 and 0x1c are 10G Base-T extended compliance codes. Add these to our decoding. Signed-off-by: Russell King <redacted> --- sfpid.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sfpid.c b/sfpid.c
index 3c50c456f93d..ded3be7337d8 100644
--- a/sfpid.c
+++ b/sfpid.c@@ -185,10 +185,14 @@ static void sff8079_show_transceiver(const __u8 *id) printf("%s Extended: 25G Base-CR CA-S\n", pfx); if (id[36] == 0xd) printf("%s Extended: 25G Base-CR CA-N\n", pfx); + if (id[36] == 0x16) + printf("%s Extended: 10Gbase-T with SFI electrical interface\n", pfx); if (id[36] == 0x18) printf("%s Extended: 100G AOC or 25GAUI C2M AOC with worst BER of 10^(-12)\n", pfx); if (id[36] == 0x19) printf("%s Extended: 100G ACC or 25GAUI C2M ACC with worst BER of 10^(-12)\n", pfx); + if (id[36] == 0x1c) + printf("%s Extended: 10Gbase-T Short Reach\n", pfx); } static void sff8079_show_encoding(const __u8 *id)
--
2.7.4