Demagic PHY_MMD31, 0xa412 to PHY_MMD31, PHY_MMD31_GBCR

This commit is contained in:
René van Dorst
2026-01-26 22:35:03 +01:00
parent 44779404df
commit 3d7ef55ced
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -613,7 +613,7 @@ void send_status(void)
phy_read(i, PHY_MMD_AN, PHY_ANEG_MGBASE_CTRL);
uint16_t w = SFR_DATA_U16;
bool_to_html(!!(w & 0x80)); // 2500BaseN-Full
phy_read(i, PHY_MMD31, 0xa412);
phy_read(i, PHY_MMD31, PHY_MMD31_GBCR);
w = SFR_DATA_U16;
bool_to_html(!!(w & 0x0200)); // 1000Base-Full
phy_read(i, PHY_MMD_AN, PHY_ANEG_ADV);