Adaptec 1737100 Programmer Manual - Page 116

Type: R/W, Internal Registers Subgroup: Ethernet Functional Registers, Byte Address, BCh - BFh

Page 116 highlights

AIC-6915 Ethernet LAN Controller Programmer's Manual Bit(s) 4 3:0 Table 7-56. TxCompletionQueueCtrl Register (Continued) Reset rw Value Description/Function r/w 0 CommonQueueMode: When this bit is set, the receive completion queues are disabled and all completion descriptors and general chip status are DMA-transferred to the Transmit Completion Queue. This bit overrides any values specified for the receive completion queues. In this mode the maximum receive completion size is 8-bytes. r/w 0 TxCompletionQueueThreshold specifies a threshold equals to 4*TXCOMPLETIONQUEUETHRESHOLD. If TXCOMPLETIONTHRESHOLDMODE is '0' and the number of empty entries in transmit queue is less or equal to the threshold, an interrupt status bit is set. If TXCOMPLETIONTHRESHOLDMODE is '1' and the number of valid completion entries in transmit queue is greater than or equal to the threshold, an interrupt status bit is set. RxCompletionQueue1Ctrl Type: R/W Internal Registers Subgroup: Ethernet Functional Registers Byte Address: BCh - BFh Table 7-57. RxCompletionQueue1Ctrl Register Reset Bit(s) rw Value Description/Function 31:8 r/w x RxCompletionQ1BaseAddress[31:8]: This field contains the starting address of the queue in host memory. It is written by the host driver during initialization and read by the AIC-6915. The amount of host memory allocated for the completion queue is either 4-KBytes, 8-KBytes, or 16-KBytes (programmable by bits 5:4, RXCOMPLETIONQ2TYPE). The starting address must be aligned to a 256-byte boundary. 7 r/w 0 RxCompletionQ1_64bitAddress: The bit indicates if Receive Completion Queue 1 is located in 64-bit address space. If so, the AIC-6915 PCI master must use 64-bit addressing mode to access the queue. 6 r/w 0 RxCompletionQ1ProducerWe: When this bit is set, the software driver is able to write the receive completion queue producer index. Otherwise, writes to the index are disabled. 5:4 r/w 0 RxCompletionQ1Type[1:0]: Controls the type of the completion descriptor. '00' - One word completion entry. '01' - Two word completion entry. The second word contains extended status and the VLAN ID and priority. '10' - Two word completion entry. The second word contains a partial checksum and 16 status bits. '11' - Four word completion entry. The entry contains a timestamp, full status, VLAN ID and priority, and the partial checksum. 7-44

  • 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

7-44
AIC-6915 Ethernet LAN Controller Programmer’s Manual
RxCompletionQueue1Ctrl
Type: R/W
Internal Registers Subgroup: Ethernet Functional Registers
Byte Address:
BCh - BFh
4
r/w
0
CommonQueueMode:
When this bit is set, the receive completion
queues are disabled and all completion descriptors and general chip
status are DMA-transferred to the Transmit Completion Queue. This
bit overrides any values specified for the receive completion queues.
In this mode the maximum receive completion size is 8-bytes.
3:0
r/w
0
TxCompletionQueueThreshold
specifies a threshold equals to
4*T
X
C
OMPLETION
Q
UEUE
T
HRESHOLD
.
If
T
X
C
OMPLETION
T
HRESHOLD
M
ODE
is ‘0’ and the number of
empty
entries in transmit queue is less or equal to the threshold, an
interrupt status bit is set.
If
T
X
C
OMPLETION
T
HRESHOLD
M
ODE
is ‘1’ and the number of
valid
completion entries in transmit queue is greater than or equal to the
threshold, an interrupt status bit is set.
Table 7-57. RxCompletionQueue1Ctrl Register
Bit(s)
rw
Reset
Value
Description/Function
31:8
r/w
x
RxCompletionQ1BaseAddress[31:8]:
This field contains the
starting address of the queue in host memory. It is written by the
host driver during initialization and read by the AIC-6915. The
amount of host memory allocated for the completion queue is either
4-KBytes, 8-KBytes, or 16-KBytes (programmable by bits 5:4,
R
X
C
OMPLETION
Q2T
YPE
). The starting address must be aligned to a
256-byte boundary.
7
r/w
0
RxCompletionQ1_64bitAddress:
The bit indicates if Receive
Completion Queue 1 is located in 64-bit address space. If so, the
AIC-6915 PCI master must use 64-bit addressing mode to access the
queue.
6
r/w
0
RxCompletionQ1ProducerWe:
When this bit is set, the software
driver is able to write the receive completion queue producer index.
Otherwise, writes to the index are disabled.
5:4
r/w
0
RxCompletionQ1Type[1:0]:
Controls the type of the completion
descriptor.
00
’ - One word completion entry.
‘01’
- Two word completion entry. The second word contains
extended status and the VLAN ID and priority.
‘10’
- Two word completion entry. The second word contains a
partial checksum and 16 status bits.
‘11’
- Four word completion entry. The entry contains a
timestamp, full status, VLAN ID and priority, and the partial
checksum.
Table 7-56. TxCompletionQueueCtrl Register (Continued)
Bit(s)
rw
Reset
Value
Description/Function