Adaptec 1737100 Programmer Manual - Page 143

MAC Control Registers

Page 143 highlights

Register Descriptions MAC Control Registers MacConfig1 Register Type: R/W Internal Registers Subgroup: MAC Registers Byte Address: 5000h - 5003h Table 7-91. MacConfig1 Register Reset Bit(s) rw Value Description/Function 31:16 r/w 0 Reserved: Always read as 0. 15 r/w 0 SoftRst: Software reset to internal MAC logic. This bit has no effect on any configuration register state. 14 r/w 0 MIILoopBack: All transmit MII signals, including data and control, are connected to receive side so that same transmitted data are received at the same time. 13:12 r/w 0 TestMode: For simulation and manufacturing test purposes. This field should not be used during normal operation. It is encoded as follows: 0 x --- normal operation 1 0 --- transmit module test mode 1 1 --- receive module test mode 11 r/w 10 r/w 9 r/w 0 TxFlowEn: Transmit flow control enable. Setting this bit enables transmitting flow control (pause) frames by setting the TXCTLFRAME in MACCONFIG2 register. The value in the flow control frame is taken from TXPAUSETIMER register. 0 RxFlowEn: Receive flow control enable. When this bit is cleared, pause frames are treated as other control frames. When the bit is set, 'pause' frames (one type of a control frame) are passed to the transmit side and may stop or start the transmit operation. 0 Preamble Detect Count: Setting this bit causes the MAC to detect up to 11 bytes of preamble before discarding the frame. Clearing the bit causes the MAC to detect up to 32 bytes of preamble before discarding the frame. 8 r/w 0 PassAllRxPackets: When this bit is cleared, control frames are discarded and not DMA-transferred to host memory. When the bit is set, all control frames are treated as regular frames and are DMA- transferred to host memory. 7 r/w 0 PurePreamble: When this bit is set, the MAC module checks the preamble of received frames and discards frames with a bad preamble. If this is cleared, the MAC ignores the preamble field. 6 r/w 0 LengthCheck: Frame length checking. When this bit is set, transmit and receive module parse the Length field of an Ethernet packet and compares it with the actual packet length. 7-71

  • 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-71
Register Descriptions
MAC Control Registers
MacConfig1 Register
Type: R/W
Internal Registers Subgroup: MAC Registers
Byte Address:
5000h - 5003h
Table 7-91. MacConfig1 Register
Bit(s)
rw
Reset
Value
Description/Function
31:16
r/w
0
Reserved:
Always read as 0.
15
r/w
0
SoftRst:
Software reset to internal MAC logic. This bit has no effect
on any configuration register state.
14
r/w
0
MIILoopBack:
All transmit MII signals, including data and control,
are connected to receive side so that same transmitted data are
received at the same time.
13:12
r/w
0
TestMode:
For simulation and manufacturing test purposes. This
field should not be used during normal operation. It is encoded as
follows:
0
x
---
normal operation
1
0
---
transmit module test mode
1
1
---
receive module test mode
11
r/w
0
TxFlowEn:
Transmit flow control enable. Setting this bit enables
transmitting flow control (pause) frames by setting the
T
X
C
TL
F
RAME
in
M
AC
C
ONFIG
2
register. The value in the flow
control frame is taken from
T
X
P
AUSE
T
IMER
register.
10
r/w
0
RxFlowEn:
Receive flow control enable. When this bit is cleared,
pause frames are treated as other control frames. When the bit is
set, ‘pause’ frames (one type of a control frame) are passed to the
transmit side and may stop or start the transmit operation.
9
r/w
0
Preamble Detect Count:
Setting this bit causes the MAC to detect
up to 11 bytes of preamble before discarding the frame. Clearing the
bit causes the MAC to detect up to 32 bytes of preamble before
discarding the frame.
8
r/w
0
PassAllRxPackets:
When this bit is cleared, control frames are
discarded and not DMA-transferred to host memory. When the bit
is set, all control frames are treated as regular frames and are DMA-
transferred to host memory.
7
r/w
0
PurePreamble:
When this bit is set, the MAC module checks the
preamble of received frames and discards frames with a bad
preamble. If this is cleared, the MAC ignores the preamble field.
6
r/w
0
LengthCheck:
Frame length checking. When this bit is set, transmit
and receive module parse the Length field of an Ethernet packet
and compares it with the actual packet length.