SMSC LAN9311 User Manual

Page of 460
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Datasheet
SMSC LAN9311/LAN9311i
377
Revision 1.4 (08-19-08)
DATASHEET
 
14.5.3.8
Switch Engine VLAN Command Register (SWE_VLAN_CMD)
This register is used to read and write the VLAN or Port VID tables. A write to this address performs
the specified access. 
For a read access, the Operation Pending bit in th
 indicates when the command is finished. The 
 can then be read.
should be written first. The Operation Pending bit in th
 indicates when the command is finished.
Register #:
180Bh
Size:
32 bits
BITS
DESCRIPTION
TYPE
DEFAULT
31:6
RESERVED
RO
-
5
VLAN RnW
This bit specifies a read(1) or a write(0) command.
R/W
0b
4
PVIDnVLAN
When set, this bit selects the Port VID table. When cleared, this bit selects 
the VLAN table.
R/W
0b
3:0
VLAN/Port
This field specifies the VLAN(0-15) or port(0-2) to be read or written.
Note:
Values outside of the valid range may cause unexpected results.
R/W
0h