Initiation Key Insider Tips
Your software should reset the (internal Linear Feedback Shift Register) hardware to its initial value by writing two 8-bit
values of 0x00 to the ADDRESS port before the Initiation Key is sent.
The I/O writes of the Initiation Key must be contiguous with no other I/O cycles to the controller. I recommend that you
disable system interrupts while issuing the Initation Key in order to avoid any extraneous I/O cycles.
In order to avoid the possibility of having the PCnet-ISA II controller miss the Initiation Key because it happened to be in
the wrong state, I recommend that you send the Initiation Key to the controller twice in succession.
Plug and Play Register Initialization
Plug and Play Register initialization is the next step after getting access to the PCnet-ISA II controller. This activity serves
two major purposes.
Generally, it is the point in controller initialization where you can override run time operational parameters read from the
EEPROM or setup initial values when the EEPROM is missing or corrupted. By default, when the serial configuration
EEPROM is missing or contains corrupted data, the PCnet-ISA II controller clears its internal Plug and Play Registers.
Specifically, it is the point in controller initialization where you can assign an ISA I/O address to the Plug and Play device.
Once you have assigned the I/O address, your software can begin accessing the PCnet-ISA II controller resources: IEEE
Address, Register Address Port, Register Data Port, and ISACSR Data Port.
The Plug and Play Register initialization function provided (ip_cfg_init()), illustrates a typical code sequence to initialize the
PnP Registers to known working values for the reference adapter card design supplied by AMD. Your adapter card design
may require different values.
The power on default values of the Plug and Play Registers in the PCnet-ISA II controller are shown in Table 4.
PnP Register
0x60
0x61
0x70
0x71
0x74
0x40
0x41
0x42
0x43
0x44
0x48
0x49
0x4A
0x4B
0x4C
0xF0
Default
0000001x
xxx00000
00000011
00000010
00000011
00000000
00000000
00000010
00000000
xxx00000
00000000
00000000
00000010
00000000
xxx00000
00000000
Table 4. Plug and Play Register Default Values
4
How to Perform Plug and Play Initiation Key with PCnet-ISA II