
ADM5120
Register Description
4.4.12 Port_conf1, offset 0x2c
Bits
Type Name
Description
Initial value
5:0
RW
Dis_Learn
Stop SA learning
→
0: enable SA learn
11:6 RW blocking_state
blocking state, only do the forwarding to CPU, and no
learning, and no transmitting (except the packet from
CPU)
→
0: normal state, 1: block state
17:12 RW
blocking_mode
If in blocking state
→
1: only forward control packets
to CPU, 0: forward all packets to CPU
19:18
Reserved
Not
Applicable
25:20 RW Port_age
port aging:
1: enable aging,
0: disable aging that the MAC address is belong to
programmed port(s)
1
31:26 RW SA_secured
SA secured mode:
0: don’t care SA match,
1: the pakcets’ SA need match, otherwise discard the
packets
Note
:
1. set Dis_Learn and SA_secured at the same
time, then only forward the packets with the
SA
and port number
matched.
2. 2. set SA_secured only, then no any secured
function
4.4.13 Port_conf2, offset 0x30
ADMtek Inc.
4-11
Bits
Type Name
Description
Initial value
0
RW
GMII_AN
MII port AN monitor enable:
1: enable MII AN monitor via MDIO (if in the dumb
mode, set to 1),
0: disable
0
2:1 RW
force_MIIport_spd
Force MII port speed if AN monitor disable:
00: forced in 10M
01: forced in 100M
10: forced in giga
11: reserved
3 RW
force_MIIport_dpx
Force MII port duplex if AN monitor disable:
0: forced in half duplex
1: forced in full duplex.
Note: duplex is forced in full, if speed is forced in the
giga
5:4
RW
force_MIIport_FC Force MII port 802.3x flow control ON if AN monitor
disable:
00: no forced,
0