mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Merge pull request #259 from logicog/rtl8221b_100m_support
Add support for 100M on RTL8221B ports
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user