mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Demagic PHY_MMD31, 0xa432 to PHY_MMD31, PHY_MMD31_PHYCR2
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
#define PHY_MMD31_FEDCR 0xa400
|
#define PHY_MMD31_FEDCR 0xa400
|
||||||
#define PHY_MMD31_GBCR 0xa412
|
#define PHY_MMD31_GBCR 0xa412
|
||||||
#define PHY_MMD31_GANLPAR 0xa414
|
#define PHY_MMD31_GANLPAR 0xa414
|
||||||
|
#define PHY_MMD31_PHYCR2 0xa432
|
||||||
#define PHY_MMD31_PHYSR 0xa434
|
#define PHY_MMD31_PHYSR 0xa434
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -102,7 +102,7 @@ void phy_config(uint8_t phy) __banked
|
|||||||
|
|
||||||
// p031f.a432:0811 P000008.1f00a432:0831
|
// p031f.a432:0811 P000008.1f00a432:0831
|
||||||
// PHYCR2 PHY Specific Control Register 2, MMD 31. 0xA432), set bit 5: enable EEE
|
// PHYCR2 PHY Specific Control Register 2, MMD 31. 0xA432), set bit 5: enable EEE
|
||||||
phy_modify(phy, PHY_MMD31, 0xa432, 0x0000, 0x0020);
|
phy_modify(phy, PHY_MMD31, PHY_MMD31_PHYCR2, 0x0000, 0x0020);
|
||||||
|
|
||||||
// p0307.003e:0000 P000008.0700003e:0001
|
// p0307.003e:0000 P000008.0700003e:0001
|
||||||
// EEE avertisment 2 register MMMD 7.0x003e, set bit 0: 2.5G has EEE capability
|
// EEE avertisment 2 register MMMD 7.0x003e, set bit 0: 2.5G has EEE capability
|
||||||
|
|||||||
Reference in New Issue
Block a user