Eeprom (93C46 Or 93C56) Contents - Realtek RTL8169 Manual

Gigabit ethernet media access controller with power management
Table of Contents

Advertisement

7. EEPROM (93C46 or 93C56) Contents

The RTL8169 supports the attachment of an external EEPROM. The 93C46 is a 1K-bit EEPROM, and the 93C56 is a 2K-bit
EEPROM. The EEPROM interface provides the ability for the RTL8169 to read from and write data to an external serial
EEPROM device. Values in the external EEPROM allow default fields in PCI configuration space and I/O space to be
overridden following internal power on reset or software EEPROM autoload command. The RTL8169 will autoload values from
the EEPROM to these fields in configuration space and I/O space. If the EEPROM is not present, the RTL8169 initialization
uses default values for the appropriate Configuration and Operational Registers. Software can read and write to the EEPROM
using "bit-bang" accesses via the 9346CR Register.
Although it is actually addressed by words, its contents are listed below by bytes for convenience. After the initial power on or
autoload command in 9346CR, the RTL8169 performs a series of EEPROM read operations from the 93C46 (93C56) address
00h to 31h.
It is suggested to obtain Realtek approval before changing the default settings of the EEPROM.
Bytes
Contents
00h
01h
02h-03h
04h-05h
06h-07h
SVID
08h-09h
SMID
0Ah
MNGNT
0Bh
MXLAT
0Ch
CONFIGx
0Dh
CONFIG3
0Eh-13h
Ethernet ID
14h
CONFIG0
15h
CONFIG1
16h-17h
PMC
18h
19h
CONFIG4
1Ah-1Eh
1Fh
CONFIG_5
cont...
2002/03/27
29h
These 2 bytes contain ID code words for the RTL8169. The RTL8169 will load the
81h
contents of the EEPROM into the corresponding location if the ID word (8129h) is
correct. Otherwise, the Vendor ID and Device ID of the PCI configuration space are
"10ECh" and "8169h".
VID
PCI Vendor ID: PCI configuration space offset 00h-01h.
DID
PCI Device ID: PCI configuration space offset 02h-03h.
PCI Subsystem Vendor ID: PCI configuration space offset 2Ch-2Dh.
PCI Subsystem ID: PCI configuration space offset 2Eh-2Fh.
PCI Minimum Grant Timer: PCI configuration space offset 3Eh.
PCI Maximum Latency Timer: PCI configuration space offset 3Fh. Set by software to
the number of PCI clocks that the RTL8169 may hold the PCI bus.
Bit3: EnTBI. When set, TBI mode is enabled. Otherwise, the RTL8169 operates in
GMII/MII mode.
Bit
RTL8169 Configuration register 3: Operational register offset 59h.
Ethernet ID: After auto-load command or hardware reset, the RTL8169 loads Ethernet
ID to IDR0-IDR5 of the RTL8169's I/O registers.
RTL8169 Configuration register 0: Operational registers offset 51h.
RTL8169 Configuration register 1: Operational registers offset 52h.
Reserved: Do not change this field without Realtek approval.
Power Management Capabilities. PCI configuration space address 52h and 53h.
-
Reserved
Reserved: Do not change this field without Realtek approval.
RTL8169 Configuration register 4, operational registers offset 5Ah.
-
Reserved
Do not change this field without Realtek approval.
Bit7-2: Reserved.
Bit1: LANWake signal Enable/Disable
Set to 1: Enable LANWake signal.
Set to 0: Disable LANWake signal.
Bit0: PME_Status bit property
Set to 1: The PME_Status bit can be reset by PCI reset or by software if
D3cold_support_PME is 0. If D3cold_support_PME=1, the PME_Status bit is a
sticky bit.
Set to 0: The PME_Status bit is always a sticky bit and can only be reset by software.
Description
7
6
-
-
34
5
4
3
-
-
EnTBI (bit7,
PHYStatus)
RTL8169
2
1
0
-
-
-
Rev.1.21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents