am79c974 Advanced Micro Devices, am79c974 Datasheet - Page 59

no-image

am79c974

Manufacturer Part Number
am79c974
Description
Pcnettm-scsi Combination Ethernet And Scsi Controller For Pci Systems
Manufacturer
Advanced Micro Devices
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
am79c974AKC
Manufacturer:
AMD
Quantity:
1 831
The configuration registers are accessible only by PCI
configuration cycles. They can be accessed right after
the Am79C974 controller is powered-on, even if the
read operation of the serial EEPROM is still on-going.
All multi-byte numeric fields follow little endian byte or-
dering. The Command register is the only register
cleared by H_RESET. S_RESET as well as asserting
SLEEP have no effect on the value of the PCI configura-
tion registers. All write accesses to Reserved locations
have no effect, reads from these locations will return a
data value of ZERO.
When the Am79C974 controller samples its IDSELA or
IDSELB input asserted during a configuration cycle, it
will acknowledge the cycle by asserting its DEVSEL out-
put. The content of AD[31:00] during the address phase
of the configuration cycles must meet the format as
shown below:
AD[1:0] must both be ZEROs, since the Am79C974
controller is not a bridge device. It only recognizes con-
figuration cycles of Type 0 (as defined by the PCI speci-
fication revision 2.0). AD[7:2] specify the selected
DWORD in the configuration space. AD[7:6] must both
be ZERO, since the Am79C974’s Ethernet controller
does not implement any of the device specific registers
in locations 64 – 255. Since AD[1:0] and AD[7:6] must all
be ZERO, the lower 8 bits of the address for a configura-
tion cycle are equal to the offset of the DWORD counting
from the beginning of the PCI configuration space.
AD[10:8] specify one of eight possible functions of a PCI
31
31
Don’t Care
Base-Class
Reserved
Reserved
11 10
Don’t
Care 0 0
Device ID
8 7 6 5
24 23
Status
DWORD Index
Header Type
Sub-Class
Reserved
P R E L I M I N A R Y
2 1 0
Base Address
0 0
16 15
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Am79C974
Programming IF
Latency Timer
device. The Am79C974 controller functions as two sin-
gle function devices, as indicated in the Header Type
registers of both PCI configuration spaces (bit 7,
FUNCT = 0). Therefore, the Am79C974 controller ig-
nores AD[10:8] during the address phase of a configura-
tion cycle. AD[31:11] are typically used to generate the
IDSELA or IDSELB signals. The Am79C974 controller
ignores all upper address bits.
PCI configuration registers can be accessed with 8-bit,
16-bit or 32-bit transfers. The active bytes within a
DWORD are determined by the byte enable signals.
E.G. a read of the Sub-Class register can be performed
by reading from offset 08h with only BE2 being active.
I/O Resources
The Am79C974 controller uses two separate blocks of
I/O space, one for the SCSI controller and one for the
Ethernet controller. This section discusses the I/O ad-
dress block used by the Ethernet controller.
PCnet-SCSI’s Ethernet Controller I/O Resource
Mapping
The Am79C974’s Ethernet controller has several I/O re-
sources. These resources use 32 bytes of I/O space
that begin at the Am79C974’s Ethernet controller I/O
base address.
The Ethernet controller allows two modes of slave ac-
cess. Word I/O mode treats all Ethernet controller I/O
Resources as two-byte entities spaced at two-byte ad-
dress intervals. Double Word I/O mode treats all Ether-
net controller I/O Resources as four-byte entities
spaced at four-byte address intervals. The selection of
WIO or DWIO mode is accomplished in any of
several ways:
Interrupt Pin
Command
Vendor ID
8 7
Interrupt Line
Revision ID
Reserved
0
AMD
Offset
0Ch
1Ch
2Ch
3Ch
00h
04h
08h
10h
14h
18h
20h
24h
28h
30h
34h
38h
59

Related parts for am79c974