English
Language : 

LAN9313 Datasheet, PDF (268/398 Pages) SMSC Corporation – Three Port 10/100 Managed Ethernet Switch with MII
13.3.2
13.3.2.1
Three Port 10/100 Managed Ethernet Switch with MII
Datasheet
Switch Port 0, Port 1, and Port 2 CSRs
This section details the switch Port 0(External MII), Port 1, and Port 2 CSRs. Each port provides a
functionally identical set of registers which allow for the configuration of port settings, interrupts, and
the monitoring of the various packet counters.
Because the Port 0, Port 1, and Port 2 CSRs are functionally identical, their register descriptions have
been consolidated. A lowercase “x” has been appended to the end of each switch port register name
in this section, where “x” should be replaced with “MII”, “1”, or “2” for the Port 0, Port 1, or Port 2
registers respectively. A list of the Switch Port 0, Port 1, and Port 2 registers and their corresponding
register numbers is included in Table 13.12.
Port x MAC Version ID Register (MAC_VER_ID_x)
Register #:
Port0: 0400h
Port1: 0800h
Port2: 0C00h
Size:
32 bits
This read-only register contains switch device ID information, including the device type, chip version
and revision codes.
BITS
DESCRIPTION
31:12 RESERVED
11:8 Device Type Code (DEVICE_TYPE)
7:4 Chip Version Code (CHIP_VERSION)
3:0 Revision Code (REVISION)
TYPE
RO
RO
RO
RO
DEFAULT
-
5h
8h
3h
Revision 1.2 (04-08-08)
268
DATASHEET
SMSC LAN9313/LAN9313i