mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Add support for 100M on RTL8221B ports
This commit is contained in:
1 parent
bfd1ce9183
commit
842d68af97
1 file changed
+1
-1
+1
-1
@@ -1408,7 +1408,7 @@ void idle(void)
|
|||||||
if (!machine.n_10g && p5_last != p5) {
|
if (!machine.n_10g && p5_last != p5) {
|
||||||
if (p5 == 0x5) // 2.5GBit Mode
|
if (p5 == 0x5) // 2.5GBit Mode
|
||||||
sds_config(0, SDS_HISGMII);
|
sds_config(0, SDS_HISGMII);
|
||||||
else if (p5 == 0x2) // 1GBit
|
else // 1GBit and 100Mbit
|
||||||
sds_config(0, SDS_SGMII);
|
sds_config(0, SDS_SGMII);
|
||||||
}
|
}
|
||||||
if (machine.n_10g)
|
if (machine.n_10g)
|
||||||
|
|||||||
Reference in new issue
Block a user