![](http://datasheet.mmic.net.cn/340000/82557_datasheet_16452405/82557_38.png)
INTEL 82557 FAST ETHERNET PCI BUS CONTROLLER
38
Table 8. Summary of Reset Commands
RESET Operation
Effect On 82557
Hardware reset
Resets all internal registers. A full initialization sequence is needed
to make the 82557 operational.
Software reset
*
(issued as PORT
RESET
**
command)
Resets all internal registers except the PCI configuration registers.
A full initialization sequence is needed to make the 82557
operational.
Selective Reset (issued as PORT
SELECTIVE RESET
**
command)
Maintains configuration information. All other setup information is
lost.
Self Test (issued as a PORT SELF
TEST
**
command) or PORT DUMP
command
Resets all internal registers. A Selective Reset is issued internally
before the command is executed. A Software Reset is issued
internally after the command is completed. A full initialization
sequence is needed to make the 82557 operational.
NOTES:
* Software reset will be used throughout this manual to indicate a complete reset using the PORT reset command.
** PORT commands are discussed in detail in the
82557 User’s Manual
.
5.2.
Initializing the 82557
A power-on or software reset prepares the 82557 for
normal operation. Because the PCI specification
already provides for auto-configuration of many
critical parameters such as I/O, memory mapping
and interrupt assignment, the 82557 is set to an
operational default state after reset. However, the
82557 cannot transmit or receive frames until a
Configure command is issued. Refer to the
82557
User’s Manual
for additional information. Table 6 lists
the different reset options.
5.3.
Controlling the 82557
The CPU issues control commands to the Command
Unit (CU) and Receive Unit (RU) through the SCB,
which is part of the CSR (described below). The CPU
instructs the 82557 to Activate, Suspend, Resume or
Idle the CU or RU by placing the appropriate control
command in the CU or RU control field. A CPU write
access to the SCB causes the 82557 to read the
SCB, including the Status word, Command word, CU
and RU Control fields, and the SCB General Pointer.
Activating the CU causes the 82557 to begin
executing the CBL. When execution is completed the
82557 updates the SCB with the CU status then
interrupts the CPU, if configured to do so. Activating
the RU causes the 82557 to access the RFA and go
into the READY state for frame reception. When a
frame is received the RU updates the SCB with the
RU status and interrupts the CPU. It also
automatically advances to the next free RFD in the
RFA. This interaction between the CPU and 82557
can continue until a software reset is issued to the
82557, at which point the initialization process must
be executed again. The CPU can also perform
certain 82557 functions directly through a CPU
PORT interface.
5.3.1.
THE 82557 CONTROL/STATUS
REGISTER (CSR)
The 82557 has eight Control/Status registers which
make up the CSR space. These are the SCB
Command word, SCB Status word, SCB General
Pointer, PORT interface, EEPROM Control register,
Flash Control register, MDI Control register, and the
Early Receive Interrupt Byte Control register. The
CSR space is six DWORDs in length and is shown in
Table 9. The 82557 CSR can be accessed as either
an I/O mapped or memory mapped PCI slave.