mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Add MSTP port state registers for STP
Each register holds the STP port state for one Forwarding ID (FID), of which there 16 can be used by the RTL8372. The mapping between FID and VLAN is done in the VLAN table. This allows the SoC to maintain 16 different MSTP states. In the register 2 bits per port are used to designate the following (R)STP states 00 disable, 01 blocking, 10 learning, 11 forwarding The STP listening state is not available.
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@
|
||||
#define RTL8373_RLDP_TIMER 0x1074
|
||||
#define RTL837X_RMA0_CONF 0x4ecc
|
||||
#define RTL837X_RMA_CONF 0x4f1c
|
||||
|
||||
#define RTL837X_MSTP_STATES 0x5310
|
||||
|
||||
#ifdef REGDBG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user