SMSC LAN9311i Manual De Usuario
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Datasheet
SMSC LAN9311/LAN9311i
65
Revision 1.4 (08-19-08)
DATASHEET
The following procedure should be followed in order to add, delete, and modify the ALR entries:
1. Write the
and
with the desired MAC address and control
bits.
Note:An entry can be deleted by setting the Valid and Static bits to 0.
2. Write the
register with 0004h (Make
Entry)
3. Poll the Make Pending bit in the
until it is cleared.
4. Write the
with 0000h.
The ALR contains a search engine that is used by the host to read the MAC Address Table. This
engine is accessed by using the
engine is accessed by using the
,
.
Note: The entries read are not necessarily in the same order as they were learned or manually
added.
The following procedure should be followed in order to read the ALR entries:
1. Write the
with 0002h (Get First Entry).
2. Write the
with 0000h (Clear the Get
First Entry Bit)
3. Poll the Valid and End of Table bits in the
until either are set.
4. If the Valid bit is set, then the entry is valid and the data from the
and
can be stored.
5. If the End of Table bit is set, then exit.
6. Write the
with 0001h (Get Next Entry).
7. Write the
with 0000h (Clear the Get
Next Entry bit)
8. Go to step 3.
through
for detailed
definitions of these registers.