Skip to contentSkip to conversation

sfpid: fix 10G Base-ER module detection

PATCH New Aleksander Jan Bajkowski 1 participant 1 message Jun 10

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sfpid: fix 10G Base-ER module detection

According to the specification[1], byte 3 bit 7 corresponds to the 10G Base-ER standard.

1. SFF_8472 Rev 12.5a dated Jan 16, 2026

Fixes 4071862f58d8 ("sfpid: Add JSON output handling to --module-info in SFF8079 modules")
---
 sfpid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sfpid.c +1 -1
index 228b3ee..8123fe8 100644
@@ -73,7 +73,7 @@ static void sff8079_show_transceiver(const __u8 *id)
 	/* 10G Ethernet Compliance Codes */
 	if (id[3] & (1 << 7))
 		sprintf(value, "%s",
-			"10G Ethernet: 10G Base-LRM [SFF-8472 rev10.4 onwards]");
+			"10G Ethernet: 10G Base-ER [SFF-8472 rev10.4 onwards]");
 	if (id[3] & (1 << 6))
 		sprintf(value, "%s", "10G Ethernet: 10G Base-LRM");
 	if (id[3] & (1 << 5))
Signature · 1 line
2.53.0