English
Language : 

LAN9420 Datasheet, PDF (26/171 Pages) SMSC Corporation – Single-Chip Ethernet Controller with HP Auto-MDIX Support and PCI Interface
3.2.4
Single-Chip Ethernet Controller with HP Auto-MDIX Support and PCI Interface
Datasheet
PCI Target Interface
The PCI target interface implements the address spaces listed in Table 3.1.
SPACE
Configuration
BAR0...BAR2
BAR3
BAR4
BAR5
Expansion ROM
SIZE
256 bytes
1 KB
256B
-
Table 3.1 PCI Address Spaces
RESOURCE
PCI standard and PCIB-specific registers
RESERVED
Control and Status Registers (Non-prefetchable area)
Control and Status Registers (I/O area)
RESERVED
RESERVED
3.2.4.1
3.2.4.2
3.2.4.2.1
The PCI Configuration space is used to identify PCI Devices, configure memory ranges, and manage
interrupts. The Host initializes and configures the PCI Device during a plug-and-play process.
The PCI Target Interface supports 32-bit slave accesses only. Non 32-bit PCI target reads to
LAN9420/LAN9420i will result in a full 32-bit read. Non 32-bit PCI target writes to LAN9420/LAN9420i
will be silently discarded.
PCI Configuration Space Registers
PCI Configuration Space Registers include the standard PCI header registers and PCIB extensions to
implement power management control/status registers. See Section 4.6, "PCI Configuration Space
CSR (CONFIG CSR)," on page 150 for further details. These registers exist in the configuration space.
Control and Status Registers (CSR)
The PCI Target Interface allows PCI bus masters to directly access the LAN9420/LAN9420i Control
and Status registers via memory or I/O operations. Each set of operations has an associated address
range that defines it as follows:
„ The non-prefetchable (NP) address range is mapped in BAR3. No data prefetch is performed when
serving PCI transactions targeting this address range.
„ The I/O address range is mapped in BAR4.
CSR ENDIANNESS
The Non-Prefetchable address range contains a double mapping of the CSR. These mappings allow
the registers to be accessed in little endian or big endian order. Figure 3.3, "CSR Double Endian
Mapping" illustrates the mapping. BA is the base address, as specified by BAR3.
Revision 1.6 (07-18-11)
26
DATASHEET
SMSC LAN9420/LAN9420i