Adapter Programming; Configuration; Control; Table - HP Compaq D315 Technical Reference Manual

Hp personal computers technical reference guide
Table of Contents

Advertisement

Appendix D Compaq/Intel Network Interface Controller Adapters
D.4

ADAPTER PROGRAMMING

Programming the adapter consists of configuration, which occurs during POST, and control,
which occurs at runtime.

D.4.1 CONFIGURATION

The adapter's 82559 or 82550 NIC controller is a PCI device and configured though PCI
configuration space registers using PCI protocol described in chapter 4 of this guide. The PCI
configuration registers are listed in the following table:
Table D-1. NIC Controller PCI Configuration Registers
PCI
Conf.
Addr.
Register
00-01h
Vender ID
02-03h
Device ID
04-05h
PCI Command
06-07h
PCI Status
08h
Revision ID
09-0Bh
Class Code
0Ch
Cache Line Size
0Dh
Latency Timer
0Eh
Header Type
0Fh
BIST
NOTE:
Assume unmarked gaps are reserved and/or not used.

D.4.2 CONTROL

The adapter's 82559 or 82550 controller is controlled though registers that may be mapped in
system memory space or variable I/O space. The registers are listed in the following table:
Table D-2. NIC Control Registers
Offset
Addr. / Register
00h SCB Status
02h SCB Command
04h SCB General Pointer
08h PORT
0Ch Flash Control Reg.
0Eh EEPROM Control Reg.
10h Mgmt. Data I/F Cntrl. Reg.
14h Rx Direct Mem. Access Byte Cnt.
18h Early Receive Interrupt
Not implemented in these systems (CardBus registers).
D-6
hp/Compaq Personal Computers
Table D-1.
PCI Configuration Registers
Value
PCI
on
Conf.
Reset
Addr.
Register
8086h
10-13h
Cntrl. Reg. Base Addr. (Mem)
1229h
14-17h
Cntrl. Reg. Base Addr. (I/O)
0000h
18-1Bh
Flash Mem. Base Addr.
0280h
2C-2Dh
Subsystem Vender ID
xxh
2E-2Fh
Subsystem ID
01h
30-33h
Expansion ROM Base Addr.
01h
34h
Cap-Ptr
04h
3C-3D
Interrupt Line/Pin
00h
3E-3Fh
Min Gnt/Max Lat
00h
DC-E3h
Power Mgmt. Functions
Table D-2.
Control Registers
No. of
Offset
Bytes
Addr. / Register
2
19h Flow Control Register
2
1Bh PMDR
4
1Ch General Control
4
1Dh General Status
2
1E-2Fh Reserved
2
30h Function Event Register
4
34h Function Event Mask Register
4
38h Function Present State Register
1
20h Force Event Register
Changed - April 2003
Value
on
Reset
0000h
00h
00h
No. of
Bytes
2
1
1
1
10
4
4
4
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

D325 mtD325 stD325

Table of Contents