mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Demagic PHY_MMD31, 0xa414 to PHY_MMD31, PHY_MMD31_GANLPAR
This commit is contained in:
1 parent
a6e452e638
commit
5962c3a8a6
2 files changed
+2
-1
No files matched your search
@@ -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