From 842d68af97a9d3bf46cf19288220c93622895958 Mon Sep 17 00:00:00 2001 From: logicog Date: Mon, 15 Jun 2026 18:40:03 +0200 Subject: [PATCH] Add support for 100M on RTL8221B ports --- rtlplayground.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtlplayground.c b/rtlplayground.c index 0f79a69..356ea9c 100644 --- a/rtlplayground.c +++ b/rtlplayground.c @@ -1406,9 +1406,9 @@ void idle(void) cpy_4(linkbits_last, sfr_data); // Handle link change of the RTL8221 PHY, adjust SDS mode, RTL8261BE always uses SDS_QXGMII if (!machine.n_10g && p5_last != p5) { - if (p5 == 0x5) // 2.5GBit Mode + if (p5 == 0x5) // 2.5GBit Mode sds_config(0, SDS_HISGMII); - else if (p5 == 0x2) // 1GBit + else // 1GBit and 100Mbit sds_config(0, SDS_SGMII); } if (machine.n_10g)