Adaptec 1737100 Programmer Manual - Page 60

External Registers

Page 60 highlights

AIC-6915 Ethernet LAN Controller Programmer's Manual Table 5-1. Status/Control Register (Continued) Bit Description 16 StopTxDma - If set, indicates the transmit DMA engine must freeze its operation and wait for software intervention 17 VlanFrame - If set, indicates a VLAN 802.1q frame 18 DiscardFrame - If set, indicates the frame being processed must be discarded (transmit or receive) 19 PartialChecksumValid - If set, indicates that Wreg1 stores a valid partial checksum for a fragmented frame. 20 BypassMaskingIntTimer - If set, indicates the receive DMA is requested to interrupt the host immediately after a completion descriptor for current frame is DMA-transferred to host memory. 21 DmaHeaderOnly - If set, indicates the receive DMA is requested to the DMA only the header of the frame being processed. The header size equals 2*(1+GfpFrameCnt[15:0]) bytes at the moment DmaHeaderOnly changes to '1'. 22 StartUserData - When set, this bit indicates that GFPFRAMECNT[15:0] stores the offset to the beginning of user data from the start of the Ethernet frame, in 16-bit halfword units. 23 IcmpFrame - If set, indicates an ICMP frame. 24 SelDescQueue0 - If set, indicates the receive DMA engine is requested to DMA the frame to buffers specified in Descriptor Queue 0. 25 SelDescQueue1 - If set, indicates the receive DMA engine is requested to DMA the frame to buffers specified in Descriptor Queue 1. 26 SelCompQueue0 - If set, indicates the receive DMA engine is requested to DMA the completion descriptor for this frame to queue 0. 27 SelCompQueue1 - If set, indicates the receive DMA engine is requested to DMA the completion descriptor for this frame to queue 0. 28 Reserved 29 Reserved 30 Reserved 31 Reserved External Registers The external registers are used as a standard way to communicate with other modules. All defined external registers are write-only (from the GFPs point of view). They are used for providing information to external devices. The following external addresses are defined: '0x00' - GFPSTATUS[15:0]. '0x01' - GFPSTATUS[31:16]. '0x02' - TCP/UDP checksum location '0x03' - TCP/UDP checksum value '0x04' - IP checksum location register '0x05' - IP checksum value register '0x06' - TCP/UDP frame size '0x0D - 0x07' - Reserved '0x0E' - GFP Receive Interrupt. '0x0F' - GFP Transmit Interrupt 5-4

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190

5-4
AIC-6915 Ethernet LAN Controller Programmer’s Manual
External Registers
The external registers are used as a standard way to communicate with other modules. All
defined external registers are write-only (from the GFPs point of view). They are used for
providing information to external devices. The following external addresses are defined:
‘0x00’ -
G
FP
S
TATUS
[15:0]
.
‘0x01’ -
G
FP
S
TATUS
[31:16]
.
‘0x02’ - TCP/UDP checksum location
‘0x03’ - TCP/UDP checksum value
‘0x04’ - IP checksum location register
‘0x05’ - IP checksum value register
‘0x06’ - TCP/UDP frame size
‘0x0D - 0x07’ - Reserved
‘0x0E’ - GFP Receive Interrupt.
‘0x0F’ - GFP Transmit Interrupt
16
StopTxDma
- If set, indicates the transmit DMA engine must freeze its operation and
wait for software intervention
17
VlanFrame
- If set, indicates a VLAN 802.1q frame
18
DiscardFrame
- If set, indicates the frame being processed must be discarded (transmit
or receive)
19
PartialChecksumValid
- If set, indicates that
Wreg1
stores a valid partial checksum for a
fragmented frame.
20
BypassMaskingIntTimer
- If set, indicates the receive DMA is requested to interrupt the
host immediately after a completion descriptor for current frame is DMA-transferred to
host memory.
21
DmaHeaderOnly
- If set, indicates the receive DMA is requested to the DMA only the
header of the frame being processed. The header size equals 2*(1+GfpFrameCnt[15:0])
bytes at the moment DmaHeaderOnly changes to ‘1’.
22
StartUserData
- When set, this bit indicates that
G
FP
F
RAME
C
NT
[15:0]
stores the offset to
the beginning of user data from the start of the Ethernet frame, in 16-bit halfword units.
23
IcmpFrame
- If set, indicates an ICMP frame.
24
SelDescQueue0
- If set, indicates the receive DMA engine is requested to DMA the
frame to buffers specified in Descriptor Queue 0.
25
SelDescQueue1
- If set, indicates the receive DMA engine is requested to DMA the
frame to buffers specified in Descriptor Queue 1.
26
SelCompQueue0
- If set, indicates the receive DMA engine is requested to DMA the
completion descriptor for this frame to queue 0.
27
SelCompQueue1
- If set, indicates the receive DMA engine is requested to DMA the
completion descriptor for this frame to queue 0.
28
Reserved
29
Reserved
30
Reserved
31
Reserved
Table 5-1. Status/Control Register
(Continued)
Bit
Description