MDS213
Data Sheet
90
Zarlink Semiconductor Inc.
18.2.10.8 ADAOR0 - MAC Offset Address Register 0
MAC Offset Address for Port [7:0], 4-bit per port
Access:
Non-Zero-Wait-State,
Direct Access,
Write/Read
Address:
h608
Bit [3:0]
MAC Offset address for Port 0
Bit [7:4]
MAC Offset address for Port 1
Bit [11:8]
MAC Offset address for Port 2
Bit [15:12]
MAC Offset address for Port 3
Bit [19:16]
MAC Offset address for Port 4
Bit [23:20]
MAC Offset address for Port 5
Bit [27:24]
MAC Offset address for Port 6
Bit [31:28]
MAC Offset address for Port 7
Usage:
There are three ways to assign the MAC address to each port. All ports in the same device share the 44
MSBs, MAC[47:4] in ADAR[0:1], while the 4 LSBs, MAC Offset [3:0] can be assigned as follows:
1.
In a managed system, if the device does not support port trunking, MAC_Offset[3:0]= the port number.
2.
In a managed system where device supports port trunking, the ports in the same trunk group shares the same
MAC[3:0]. The value of MAC[3:0] is assigned by the smallest port number in the Trunk Group.
3.
In a managed system, if BIT [18] of DCR2, SMAC=0, all ports are assigned to a single MAC.
4.
In an unmanaged system, MAC[3:0] is fixed for all devices (i.e., only one MAC[3:0] address for the whole
system).
18.2.10.9 ADAOR1 - MAC Offset Address Register 1
MAC Offset Address for Port [12:8], 4-bit per port
Access:
Non-Zero-Wait-State,
Direct Access,
Write/Read
Address:
h60C
Bit [3:0]
MAC Offset address for Port 8
Bit [7:4]
MAC Offset address for Port 9
Bit [11:8]
MAC Offset address for Port 10
Bit [15:12]
MAC Offset address for Port 11
Bit [19:16]
MAC Offset address for Port 12
Bit [31:20]
Reserved
24 23
Port7_offset
31
28 27
20 19
12 11
8 7
4 3
0
Port6_offset Port5_offset Port4_offset Port3_offset Port2_offset Port1_offset Port0_offset
16 15
31
20 19
12 11
8 7
4 3
0
Port12_offset
Port11_offset
Port10_offset Port9_offset
Port8_offset
16 15