RTL8309SB
Datasheet
Single-chip 9-port 10/100Mbps Switch Controller
57
Track ID: JATR-1076-21 Rev. 1.4
7.6.7.
PHY 5 Register 17: MII Port Control 1 & VLAN Entry [I]
Table 93. PHY 5 Register 17: MII Port Control 1 & VLAN Entry [I]
Mode Description
RW
1: The switch will replace a NULL VID with a port VID
(12 bits)
0: No replacement for a NULL VID
Discard Non-
PVID packets
packets with a VID that does not match the ingress port default
VID, which is indexed by the MII port’s ‘Port-based VLAN
index’
0: No packets will be dropped
Reserved
17.[12~9] Port 8 VLAN index
[3:0]
8’s ‘Port VLAN Membership’, which can be defined in register
‘VLAN ID [A] Membership’ to ‘VLAN ID [I] Membership’.
Port 8 can only communicate within the membership. This
register also indexes to a default Port VID (PVID) for each port.
The PVID is used in tag insertion and filtering if the tagged
VID is not the same as the PVID.
17.[8:0] VLAN ID [I]
Membership Bit
[8:0]
this VLAN will be forwarded to ports specified in this field.
E.g., 1 0000 0001 means port 8 and 0 are in this VLAN.
Reg.bit
17.15
Name
Null VID
replacement
Default
0
17.14
RW
1: If the received packets are tagged, the switch will discard
0
17.13
1
In port-based VLAN configuration, this register indexs to port
1000
RW
This 9-bit field specifies which ports are members of VLAN I.
If a destination address look up fails, packets associated with
1
1111
1111
7.6.8.
PHY 5 Register 18: VLAN Entry [I]
Table 94. PHY 5 Register 18: VLAN Entry [I]
Mode Description
RW
Defines the IEEE 802.1Q 12-bit VLAN identifier of VLAN I.
Reg.bit
18.[15:12] Reserved
18.[11:0] VLAN ID [I]
Name
Default
1111
0000
0001
0000
7.6.9.
PHY 5 Register 19: CPU Port & WAN Port
Table 95. PHY 5 Register 19: CPU Port & WAN Port
Mode Description
RW
Specify the WAN port on the RTL8309SB.
1000=MII Port is WAN Port
0111=Port 7 is WAN Port 0110=Port 6 is WAN Port
0101=Port 5 is WAN Port 0100=Port 4 is WAN Port
0011=Port 3 is WAN Port 0010=Port 2 is WAN Port
0001=Port 1 is WAN Port 0000=Port 0 is WAN Port
RW
Specify the CPU port on the RTL8309SB.
1000=MII Port is CPU Port
0111=Port 7 is CPU Port 0110=Port 6 is CPU Port
0101=Port 5 is CPU Port 0100=Port 4 is CPU Port
0011=Port 3 is CPU Port 0010=Port 2 is CPU Port
0001=Port 1 is CPU Port 0000=Port 0 is CPU Port
Reg.bit
19.[15:8] Reserved
19.[7:4] WAN Port
Name
Default
0xFF
0111
19.[3:0] CPU Port
0000