From 9f800bae01b93b3c35e2442c7317855d0aa53ee9 Mon Sep 17 00:00:00 2001 From: Jan Hoffmann Date: Fri, 27 Mar 2026 17:55:42 +0100 Subject: [PATCH] Improve compatibility with 1G SFP modules Some modules report a nominal signaling rate of 1200 MBd. --- rtlplayground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtlplayground.c b/rtlplayground.c index 358650d..06f7971 100644 --- a/rtlplayground.c +++ b/rtlplayground.c @@ -996,7 +996,7 @@ void handle_tx(void) static inline uint8_t sfp_rate_to_sds_config(register uint8_t rate) { - if (rate == 0xd) + if (rate == 0xc || rate == 0xd) return SDS_1000BX_FIBER; if (rate >= 0x19 && rate <= 0x20) // Ethernet 2.5 GBit return SDS_HSG;