Compaq AA-RNG2A-TE Network Card User Manual


 
2 Defines the interrupt latch bit position.
3 Defines the adapter failure bit position.
4 Defines the transmit complete bit position.
5 Defines the transmit available bit position.
6 Defines the receive complete bit position.
7 Defines the receive early bit position.
8 Defines the interrupt request bit position.
9 Defines the update statistics bit position.
10 Defines the command in-progress bit position.
11 Defines the current window number bit position.
2.2 Command Port Register Offset Definitions
The following code shows the offset definitions for the command port
register. Bits 0:10 contain optional parameter bits and bits 11:15 contain
the command.
#define CMD_PORT 0xe 1
#define CMD_RESET (0x0) 2
#define CMD_WINDOW0 ((0x1<<11)+0x0) 3
#define CMD_WINDOW1 ((0x1<<11)+0x1) 4
#define CMD_WINDOW2 ((0x1<<11)+0x2) 5
#define CMD_WINDOW3 ((0x1<<11)+0x3) 6
#define CMD_WINDOW4 ((0x1<<11)+0x4) 7
#define CMD_WINDOW5 ((0x1<<11)+0x5) 8
#define CMD_WINDOW6 ((0x1<<11)+0x6) 9
#define CMD_START2 (0x2<<11) 10
#define CMD_RXDIS (0x3<<11) 11
#define CMD_RXENA (0x4<<11) 12
#define CMD_RXRESET (0x5<<11) 13
#define CMD_RXDTP (0x8<<11) 14
#define CMD_TXENA (0x9<<11) 15
#define CMD_TXDIS (0xa<<11) 16
#define CMD_TXRESET (0xb<<11) 17
#define CMD_REQINT (0xc<<11) 18
#define CMD_ACKINT (0xd<<11) 19
#define CMD_SINTMASK (0xe<<11) 20
#define CMD_ZINTMASK (0xf<<11) 21
#define CMD_FILTER (0x10<<11) 22
enum rx_filter { 23
RF_IND =0x1,
RF_GRP =0x2,
RF_BRD =0x4,
RF_PRM =0x8
};
#define CMD_RXEARLY (0x11<<11)
24
#define CMD_TXAVAILTHRESH (0x12<<11) 25
#define CMD_TXSTARTTHRESH (0x13<<11) 26
#define CMD_STATSENA (0x15<<11) 27
#define CMD_STATSDIS (0x16<<11) 28
#define CMD_STOP2 (0x17<<11) 29
#define CMD_RXRECTHRESH (0x18<<11) 30
22 Defining Device Register Offsets