RTL8139C+: Fix duplex negotiation so it correctly negotiates full duples, fixes #4867.

This commit is contained in:
OBattler
2024-09-29 10:27:21 +02:00
parent bdc4304300
commit c172cc8dbe

View File

@@ -1076,10 +1076,11 @@ rtl8139_reset(void *priv)
s->cplus_enabled = 0;
#if 0
s->BasicModeCtrl = 0x3100; // 100Mbps, full duplex, autonegotiation
s->BasicModeCtrl = 0x2100; // 100Mbps, full duplex
#endif
s->BasicModeCtrl = 0x3100; // 100Mbps, full duplex, autonegotiation
s->BasicModeCtrl = 0x1000; // autonegotiation
#endif
s->BasicModeCtrl = 0x1100; // full duplex, autonegotiation
rtl8139_reset_phy(s);