SMSC LAN9311i Switch User Manual


 
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Datasheet
Revision 1.4 (08-19-08) 246 SMSC LAN9311/LAN9311i
DATASHEET
14.2.8 Virtual PHY
This section details the Virtual PHY System CSR’s. These registers provide status and control
information similar to that of a real PHY while maintaining IEEE 802.3 compatibility. The Virtual PHY
registers are addressable via the memory map, as described in Table 14.1, as well as serially via the
MII management protocol (IEEE 802.3 clause 22). When accessed serially, these registers are
accessed indirectly through the Host MAC MII Access Register (HMAC_MII_ACC) and Host MAC MII
Data Register (HMAC_MII_DATA) via the MII serial management protocol specified in IEEE 802.3
clause 22. When being accessed serially, the Virtual PHY will respond when the PHY address equals
the address assigned by the phy_addr_sel_strap configuration strap, as defined in Section 7.1.1, "PHY
Addressing," on page 82. A list of all Virtual PHY register indexes for serial access can be seen in
Table 14.4. For more information on the Virtual PHY access modes, refer to section Section 14.4. For
Virtual PHY functionality and operation information, see Section 7.3, "Virtual PHY," on page 96.
Note: All Virtual PHY registers follow the IEEE 802.3 (clause 22.2.4) specified MII management
register set. All functionality and bit definitions comply with these standards. The IEEE 802.3
specified register index (in decimal) is included under the LAN9311/LAN9311i memory mapped
offset of each Virtual PHY register as a reference. For additional information, refer to the IEEE
802.3 Specification.
Note: When serially accessed, the Virtual PHY registers are only 16-bits wide, as is standard for MII
management of PHY’s.
Table 14.4 Virtual PHY MII Serially Adressable Register Index
INDEX # SYMBOL REGISTER NAME
0 VPHY_BASIC_CTRL Virtual PHY Basic Control Register, Section 14.2.8.1
1 VPHY_BASIC_STATUS Virtual PHY Basic Status Register, Section 14.2.8.2
2 VPHY_ID_MSB Virtual PHY Identification MSB Register, Section 14.2.8.3
3 VPHY_ID_LSB Virtual PHY Identification LSB Register, Section 14.2.8.4
4 VPHY_AN_ADV Virtual PHY Auto-Negotiation Advertisement Register,
Section 14.2.8.5
5
VPHY_AN_LP_BASE_ABILITY
Virtual PHY Auto-Negotiation Link Partner Base Page Ability
Register, Section 14.2.8.6
6 VPHY_AN_EXP Virtual PHY Auto-Negotiation Expansion Register,
Section 14.2.8.7
31
VPHY_SPEC_CTRL_STATUS
Virtual PHY Special Control/Status Register, Section 14.2.8.8