Adaptec 1737100 Programmer Manual - Page 117

Type: R/W, Internal Registers Subgroup: Ethernet Functional Registers, Byte Address, C0h - C3h

Page 117 highlights

Register Descriptions Bit(s) 3:0 Table 7-57. RxCompletionQueue1Ctrl Register (Continued) Reset rw Value Description/Function r/w 0 RxCompletionQ1Threshold specifies a threshold equal to 4*RxCompletionQ1Threshold. If RxCompletionQ1ThresholdMode is '0' and the number of empty entries in receive queue 1 is less or equal to the threshold, an interrupt status bit is set. If RxCompletionQ1ThresholdMode is '1' and the number of valid completion entries in receive queue 1 is greater than or equal to the threshold, an interrupt status bit is set. RxCompletionQueue2Ctrl Type: R/W Internal Registers Subgroup: Ethernet Functional Registers Byte Address: C0h - C3h Table 7-58. RxCompletionQueue2Ctrl Register Reset Bit(s) rw Value Description/Function 31:8 r/w x RxCompletionQ2BaseAddress[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 or 8-KBytes (programmable by bit 5, receive completion size). The starting address must be aligned to a 256-byte boundary. 7 r/w 0 RxCompletionQ2_64bitAddress: This 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 RxCompletionQ2ProducerWe: 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 RxCompletionQ2Type[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 4 status bits. '11' - Four word completion entry. The entry contains a timestamp, full status, VLAN ID and priority, and the partial checksum. 3:0 r/w 0 RxCompletionQ2Threshold specifies a threshold equals to 4*RxCompletionQ2Threshold. If RxCompletionQ2ThresholdMode is '0' and the number of empty entries in receive queue 1 is less or equal to the threshold, an interrupt status bit is set. If RxCompletionQ2ThresholdMode is '1' and the number of valid completion entries in receive queue 1 is equal to or more than the threshold, an interrupt status bit is set. 7-45

  • 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-45
Register Descriptions
RxCompletionQueue2Ctrl
Type: R/W
Internal Registers Subgroup: Ethernet Functional Registers
Byte Address:
C0h - C3h
3:0
r/w
0
RxCompletionQ1Threshold
specifies a threshold equal to
4*RxCompletionQ1Threshold
.
If
RxCompletionQ1ThresholdMode
is ‘0’ and the number of
empty
entries in receive queue 1 is less or equal to the threshold, an
interrupt status bit is set.
If
RxCompletionQ1ThresholdMode
is ‘1’ and the number of
valid
completion entries in receive queue 1 is greater than or equal to the
threshold, an interrupt status bit is set.
Table 7-58. RxCompletionQueue2Ctrl Register
Bit(s)
rw
Reset
Value
Description/Function
31:8
r/w
x
RxCompletionQ2BaseAddress[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 or 8-KBytes (programmable by bit 5, receive completion
size). The starting address must be aligned to a 256-byte boundary.
7
r/w
0
RxCompletionQ2_64bitAddress:
This 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
RxCompletionQ2ProducerWe:
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
RxCompletionQ2Type[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 4 status bits.
‘11’
- Four word completion entry. The entry contains a timestamp,
full status, VLAN ID and priority, and the partial checksum.
3:0
r/w
0
RxCompletionQ2Threshold
specifies a threshold equals to
4*RxCompletionQ2Threshold
.
If
RxCompletionQ2ThresholdMode
is ‘0’ and the number of
empty
entries in receive queue 1 is less or equal to the threshold, an
interrupt status bit is set.
If
RxCompletionQ2ThresholdMode
is ‘1’ and the number of
valid
completion entries in receive queue 1 is equal to or more than the
threshold, an interrupt status bit is set.
Table 7-57. RxCompletionQueue1Ctrl Register
(Continued)
Bit(s)
rw
Reset
Value
Description/Function