All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3] ethtool: add 0x16 and 0x1c extended compliance codes
@ 2019-10-18 20:31 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2019-10-18 20:31 UTC (permalink / raw)
  To: netdev; +Cc: linville, andrew, f.fainelli

From: Russell King <rmk+kernel@armlinux.org.uk>

0x16 and 0x1c are 10G Base-T extended compliance codes.  Add these
to our decoding.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-18 20:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-18 20:31 [PATCH 3/3] ethtool: add 0x16 and 0x1c extended compliance codes Russell King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.