Add MAC-EEE functionality

This commit is contained in:
logicog
2025-10-11 13:09:47 +02:00
parent 31c61faa60
commit 717247bc0e
4 changed files with 83 additions and 1 deletions
+9 -1
View File
@@ -150,12 +150,20 @@
/*
* Loop detection / STP
*/
#define RTL8373_RLDP_TIMER 0x1074
#define RTL837X_RMA0_CONF 0x4ecc
#define RTL837X_RMA_CONF 0x4f1c
#define RTL837X_MSTP_STATES 0x5310
/*
* EEE
*/
#define RTL8373_EEE_CTRL_BASE 0x606c
#define EEE_100 0x01
#define EEE_1000 0x04
#define EEE_2G5 0x10
#ifdef REGDBG
#define REG_SET(r, v) SFR_DATA_24 = (((uint32_t)v) >> 24) & 0xff; \