mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Demagic PHY_MMD31, 0xa414 to PHY_MMD31, PHY_MMD31_GANLPAR
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
*/
|
||||
#define PHY_MMD31_FEDCR 0xa400
|
||||
#define PHY_MMD31_GBCR 0xa412
|
||||
#define PHY_MMD31_GANLPAR 0xa414
|
||||
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -404,7 +404,7 @@ void phy_show(uint8_t port) __banked
|
||||
print_string(" 100Base-Half");
|
||||
if (v & 0x0100)
|
||||
print_string(" 100Base-Full");
|
||||
phy_read(port, PHY_MMD31, 0xa414);
|
||||
phy_read(port, PHY_MMD31, PHY_MMD31_GANLPAR);
|
||||
v = SFR_DATA_U16;
|
||||
if (v & 0x0400)
|
||||
print_string(" 1000Base-Half");
|
||||
|
||||
Reference in New Issue
Block a user