Adaptec 1737100 Programmer Manual - Page 141

Additional Ethernet Registers

Page 141 highlights

Register Descriptions Additional Ethernet Registers The following group of registers control access to the MAC, physical device (MII), transmit FP, receive FP, and Ethernet FIFO. The registers are accessible from PCI memory and indirect I/O space. They are all synchronized to the Ethernet transmit clock and are usually not accessed during normal operation. Ethernet Physical Device Registers MIIRegistersAccessPort Type: R/W Internal Registers Subgroup: MII Registers Byte Address: 2000h - 3FFFh Table 7-87. MIIRegistersAccessPort Register Reset Bit(s) rw Value Description/Function 31 r 30 r 1 MiiDataValid: Same bit as in MIISTATUS register. 1 MiiBusy: Same bit as in MIISTATUS register. 29:16 r 15:0 r/w 0 Reserved: Always read as 0. 0 MiiRegDataPort: The Data port is used for accessing MII registers implemented in external physical device[s]. The Data port resides in a 4-KBytes of address space. Up to 32 external physical devices can be mapped to this space. Each physical device has 32 x 16-bit registers that are mapped to 32 x 32-bits of address space in such a way that the two high bytes are reserved. When the software driver reads any address within the range, the reserved bits are all '0' except bit '31' which provides the 'MiiBusy' status. When the software driver accesses the port and the Serial MII Management port is idle, the AIC-6915 sets the MiiBusy bit and starts an access to the appropriate external physical device. When the access is completed, the AIC-6915 resets the Status bit. Note: accesses to the port while it is 'busy' are ignored. 7-69

  • 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-69
Register Descriptions
Additional Ethernet Registers
The following group of registers control access to the MAC, physical device (MII),
transmit FP, receive FP, and Ethernet FIFO. The registers are accessible from PCI memory
and indirect I/O space. They are all synchronized to the Ethernet transmit clock and are
usually not accessed during normal operation.
Ethernet Physical Device Registers
MIIRegistersAccessPort
Type: R/W
Internal Registers Subgroup: MII Registers
Byte Address:
2000h - 3FFFh
Table 7-87. MIIRegistersAccessPort Register
Bit(s)
rw
Reset
Value
Description/Function
31
r
1
MiiDataValid:
Same bit as in
MIIS
TATUS
register.
30
r
1
MiiBusy:
Same bit as in
MIIS
TATUS
register.
29:16
r
0
Reserved:
Always read as 0.
15:0
r/w
0
MiiRegDataPort:
The Data port is used for accessing MII registers
implemented in external physical device[s]. The Data port resides in
a 4-KBytes of address space. Up to 32 external physical devices can
be mapped to this space. Each physical device has 32 x 16-bit
registers that are mapped to 32 x 32-bits of address space in such a
way that the two high bytes are reserved. When the software driver
reads any address within the range, the reserved bits are all ‘0’
except bit ‘31’ which provides the ‘
MiiBusy
’ status. When the
software driver accesses the port and the Serial MII Management
port is idle, the AIC-6915 sets the
MiiBusy
bit and starts an access to
the appropriate external physical device. When the access is
completed, the AIC-6915 resets the Status bit.
Note
: accesses to the port while it is ‘busy’ are ignored.