sfpid: fix 10G Base-ER module detection
Subsystems (2)
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")
Signed-off-by Aleksander Jan Bajkowski <[email protected]>
--- sfpid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sfpid.c +1 -1
@@ -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