Compaq W4000 Manual De Usuario

Descargar
Página de 229
 
 
Technical Reference Guide 
 
5.9.4  NIC PROGRAMMING  
 
Programming the NIC consists of configuration, which occurs during POST, and control, which 
occurs at runtime.  
 
5.9.4.1 Configuration 
 
The network interface function is a PCI device and configured though PCI configuration space 
registers using PCI protocol described in chapter 4. The PCI configuration registers are listed in 
the following table:  
Table 5–25.   NIC Controller PCI Configuration Registers 
 
Table 5-25. 
NIC Controller PCI Configuration Registers (ICH2 Device 8/Function 0) 
PCI 
Conf. 
Addr.
 
 
 
Register
 
Value on 
Reset 
PCI  
Conf.  
Addr. 
 
 
Register 
Value 
on 
Reset 
00-01h 
Vender ID 
8086h 
2E, 2Fh 
Subsystem ID 
0000h 
02-03h 
Device ID 
2449h 
34h 
Capabilities Pointer 
DCh 
04-05h 
PCI Command 
0000h 
3Ch 
Interrupt Line 
00h 
06-07h 
PCI Status 
0290h 
3Dh 
Interrupt Pin 
01h 
08h 
Revision ID 
Xxh 
3Eh 
Min. Grant 
08h 
09-0Bh 
Class Code 
0002h 
3E, 3Fh 
Max. Latency 
38h 
0Dh 
Latency Timer 
00h 
DCh 
Capability ID 
01h 
0Eh 
Header Type 
00h 
DDh 
Next Item Pointer 
00h 
10-13h 
Cntrl. Reg. Base Addr. (Mem) 
DE, DFh 
Pwr.  Mgmt. Functions 
FE21h 
14-17h 
Cntrl. Reg. Base Addr. (I/O) 
E0, E1h 
Pwr. Mgmt. Cntrl./Sts 
0000h 
2C, 2Dh 
Subsystem Vender ID 
0000h 
E3h 
Data 
-- 
NOTE: 
Assume unmarked gaps are reserved and/or not used
.
 
5.9.4.2 Control 
 
The 82562 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 5–26.   NIC Control Registers 
 
Table 5-26. 
NIC Control Registers 
Offset  
Addr. / Register
 
No. of 
Bytes
 
Offset 
Addr. / Register 
No. of 
Bytes 
00h   SCB Status 
19h   Flow Control Register 
02h   SCB Command 
1Bh   PMDR 
04h   SCB General Pointer  
1Ch   General Control 
08h   PORT 
1Dh   General Status 
0Ch   Flash Control Reg. 
1E-2Fh   Reserved 
10 
0Eh   EEPROM Control Reg. 
30h   Function Event Register 
10h   Mgmt. Data I/F Cntrl. Reg. 
34h   Function Event Mask Register 
14h   Rx Direct Mem. Access Byte Cnt. 
38h   Function Present State Register 
18h   Early Receive Interrupt 
20h   Force Event Register 
        
 
       
Not implemented in these systems (CardBus registers). 
 
Compaq Evo and Workstation Personal Computers 
Featuring the Intel Pentium 4 Processor 
 
                                                                                       
Second Edition - January 2003
 
5-35