Adaptec 1737100 Programmer Manual - Page 101

Table 7-40. TimersControl Register, Continued

Page 101 highlights

Register Descriptions Table 7-40. TimersControl Register (Continued) Reset Bit(s) rw value Description/Function 12 r/w 0 RxHiPrBypass: If this bit is set, bypass the interrupt masking timer when generating RxDoneInt after DMA-transferring the completion descriptor of a high-priority frame. 11 r/w 0 Timer10X: Enables the software to easily scale the TimerClock period by a factor of 10 to match a 10 Mbits/sec or 100 Mbits/sec environment. When this bit is set, TXCLK is divided by 20 to create TIMERCLOCK, otherwise it is divided by 2. The division by 20 is used when the AIC-6915 operates at line speed of 100 Mbits/Sec. 10:9 r/w 0 SmallRxFrame: Defines the size of a received Ethernet frame that is considered 'small'. The AIC-6915 interrupts 'small' frames earlier than normal frames if SmallFrameBypass bit is set. '00' - 'Small' frame when less or equal to 64 bytes '01' - 'Small' frame when less or equal to 128 bytes '10' -'Small' frame when less or equal to 256 bytes '11' - 'Small' frame when less or equal to 512 bytes 8 r/w 0 SmallFrameBypass: When this bit is set, AND the receive interrupt masking timer is active, and the interrupt status bit RXDONEINT is set as a result of receiving and completing the DMA transfer of a 'small' frame, then RXDONEINT by-passes the masking timer and asserts the external PCI interrupt line. When SMALLFRAMEBYPASS is reset, the AIC-6915 treats all received frames the same. It does not assert the external interrupt line if the interrupt masking timer is active. 7 r 0 Reserved: Always read as '0'. 6:5 r/w 0 IntMaskMode: Controls the operation of the interrupt masking timer. '00' - The timer is not loaded. '01' - When this value is written, the timer is loaded with the number defined by IntMaskPeriod. The timer is decremented by one every rising edge of TIMERCLOCK. During a maskingperiod, active (asserted) Transmit and Receive Interrupts are masked and do not cause an assertion of an interrupt on the PCI bus. When the timer reaches its terminal count (0) the interrupts are enabled. '10' - Same as '01', except that new masking period starts automatically when the software driver clears both TXDONEINT and RXDONEINT. '11' - Same as '01', except that new masking period starts automatically when first asserting a new interrupt. In this case the masking period is extended by the time interval from the last time the software cleared the interrupt until a new one is asserted. 7-29

  • 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-29
Register Descriptions
12
r/w
0
RxHiPrBypass:
If this bit is set, bypass the interrupt masking timer
when generating
RxDoneInt
after DMA-transferring the
completion descriptor of a high-priority frame.
11
r/w
0
Timer10X:
Enables the software to easily scale the
TimerClock
period by a factor of 10 to match a 10 Mbits/sec or 100 Mbits/sec
environment. When this bit is set,
T
X
C
LK
is divided by 20 to create
T
IMER
C
LOCK
, otherwise it is divided by 2. The division by 20 is used
when the AIC-6915 operates at line speed of 100 Mbits/Sec.
10:9
r/w
0
SmallRxFrame:
Defines the size of a received Ethernet frame that is
considered ‘small’. The AIC-6915 interrupts ‘small’ frames earlier
than normal frames if
SmallFrameBypass
bit is set.
00
’ - ‘Small’ frame when less or equal to 64 bytes
01
’ - ‘Small’ frame when less or equal to 128 bytes
10
’ -‘Small’ frame when less or equal to 256 bytes
11
’ - ‘Small’ frame when less or equal to 512 bytes
8
r/w
0
SmallFrameBypass:
When this bit is set, AND the receive interrupt
masking timer is active, and the interrupt status bit
R
X
D
ONE
I
NT
is
set as a result of receiving and completing the DMA transfer of a
‘small’ frame, then
R
X
D
ONE
I
NT
by-passes the masking timer and
asserts the external PCI interrupt line. When
S
MALL
F
RAME
B
YPASS
is
reset, the AIC-6915 treats all received frames the same. It does not
assert the external interrupt line if the interrupt masking timer is
active.
7
r
0
Reserved: Always read as ‘0’.
6:5
r/w
0
IntMaskMode:
Controls the operation of the interrupt masking
timer.
‘00’ -
The timer is not loaded.
‘01’ -
When this value is written, the timer is loaded with the
number defined by
IntMaskPeriod
. The timer is decremented
by one every rising edge of
T
IMER
C
LOCK
. During a masking-
period, active (asserted)
Transmit and Receive Interrupts
are
masked and do not cause an assertion of an interrupt on the
PCI bus. When the timer reaches its terminal count (0) the
interrupts are enabled.
‘10’ -
Same as ‘01’, except that new masking period starts
automatically
when the software driver clears both
T
X
D
ONE
I
NT
and
R
X
D
ONE
I
NT
.
‘11’ -
Same as ‘01’, except that new masking period starts
automatically when first asserting a new interrupt. In this case
the masking period is extended by the time interval from the
last time the software cleared the interrupt until a new one is
asserted.
Table 7-40. TimersControl Register
(Continued)
Bit(s)
rw
Reset
value
Description/Function