Adaptec 1737100 Programmer Manual - Page 120

Receive Registers

Page 120 highlights

AIC-6915 Ethernet LAN Controller Programmer's Manual Bit(s) 9:0 Table 7-61. RxHiPrCompletionPtrs Register (Continued) Reset rw Value Description/Function r/w 0 RxCompletionQ2ConsumerIndex: Written by software driver and read by the AIC-6915. The software driver increments or writes a new index to free space in the queue. Receive Registers RxDmaCtrl Type: R/W Internal Registers Subgroup: Ethernet Functional Registers Byte Address: D0h - D3h Table 7-62. RxDmaCtrl Register Reset Bit(s) rw Value Description/Function 31 r/w 0 RxReportBadFrames: If set, the AIC-6915 reports the status for rejected frames to the host, although it reuses the buffers for the next frame. Otherwise, the AIC-6915 does not report any status when it receives a bad frame, but only updates internal statistics. This bit can be set only if long-completion descriptor mode is selected. 30 r/w 0 RxDmaShortFrames: If set, the receive DMA module accepts frames shorter than 64 bytes. Otherwise, they are rejected. Note: Although this register is implemented in the receive DMA module, it actually affects the operation of receive frames. 29 r/w 0 RxDmaBadFrames: If set, accept frames with dribble nibble, code violation, or cut off due to FIFO overflow. Otherwise, they are rejected. 28 r/w 0 RxDmaCrcErrorFrames: If set, frames with CRC errors are accepted. If the bit is cleared they are rejected. 27 r/w 0 RxDmaControlFrame: If this bit is set the AIC-6915 transfers MAC control frames other than pause frames to the host. 26 r/w 0 RxDmaPauseFrame: If this bit is set the AIC-6915 transfers MAC control pause frames to the host. 25:24 r/w 0 RxChecksumMode: This field determines whether to use the checksum to accept frames. The encoding is as follows: '00' - Ignore the checksum. '01' - Reject TCP frames with a bad checksum. '10' - Reject both TCP and UDP frames with bad checksums. '11' - reserved. 23 r/w 0 RxCompletionQ2Enable: If this bit is set, the second completion queue is enabled. The results of high-priority frames are DMAtransferred to the high-priority completion queue. When the second queue is enabled, the FP can override which queue to use. 7-48

  • 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-48
AIC-6915 Ethernet LAN Controller Programmer’s Manual
Receive Registers
RxDmaCtrl
Type: R/W
Internal Registers Subgroup: Ethernet Functional Registers
Byte Address:
D0h - D3h
9:0
r/w
0
RxCompletionQ2ConsumerIndex:
Written by software driver and
read by the AIC-6915. The software driver increments or writes a
new index to free space in the queue.
Table 7-62. RxDmaCtrl Register
Bit(s)
rw
Reset
Value
Description/Function
31
r/w
0
RxReportBadFrames:
If set, the AIC-6915 reports the status for
rejected frames to the host, although it reuses the buffers for the next
frame. Otherwise, the AIC-6915 does not report any status when it
receives a bad frame, but only updates internal statistics. This bit
can be set only if long-completion descriptor mode is selected.
30
r/w
0
RxDmaShortFrames:
If set, the receive DMA module accepts frames
shorter than 64 bytes. Otherwise, they are rejected.
Note
: Although this register is implemented in the receive DMA
module, it actually affects the operation of receive frames.
29
r/w
0
RxDmaBadFrames:
If set, accept frames with dribble nibble, code
violation, or cut off due to FIFO overflow. Otherwise, they are
rejected.
28
r/w
0
RxDmaCrcErrorFrames:
If set, frames with CRC errors are accepted.
If the bit is cleared they are rejected.
27
r/w
0
RxDmaControlFrame:
If this bit is set the AIC-6915 transfers MAC
control frames other than pause frames to the host.
26
r/w
0
RxDmaPauseFrame:
If this bit is set the AIC-6915 transfers MAC
control pause frames to the host.
25:24
r/w
0
RxChecksumMode:
This field determines whether to use the
checksum to accept frames. The encoding is as follows:
00
’ - Ignore the checksum.
01
’ - Reject TCP frames with a bad checksum.
10
’ - Reject both TCP and UDP frames with bad checksums.
11
’ - reserved.
23
r/w
0
RxCompletionQ2Enable:
If this bit is set, the second completion
queue is enabled. The results of high-priority frames are DMA-
transferred to the high-priority completion queue. When the second
queue is enabled, the FP can override which queue to use.
Table 7-61. RxHiPrCompletionPtrs Register
(Continued)
Bit(s)
rw
Reset
Value
Description/Function