Adaptec 1737100 Programmer Manual - Page 152

Type: R/W, Internal Registers Subgroup: MAC Registers, Byte Address, 5070h - 5073h

Page 152 highlights

AIC-6915 Ethernet LAN Controller Programmer's Manual MIIStatus Register Type: R/W Internal Registers Subgroup: MAC Registers Byte Address: 5070h - 5073h Table 7-106. MIIStatus Register Reset Bit(s) rw value Description/Function 31:5 r 0 Reserved: Always read as 0. 4 r 0 MIILink Fail: MII Link Fail indicator. Setting this bit indicates to the current PHY that the AIC-6915 is continuously scanning for link status. The external PHY's Status register's (Register 1) bit 2, has failed. This bit is cleared during normal operation. Note: This bit is only valid when the SCAN bit is set. Otherwise, the bit has no meaning. 3 r 0 NotValid: Indicates the period of time at the beginning of a scan operation when the external PHY link fail indicator (MIILF) is not valid. 2 r/w 0 Scan: MII management scan. When this bit is set, the host continuously reads the same external MII PHY register specified by MIIPHYAD and MIIREGAD in the MIIAdr register. The MIIADR register must be appropriately set before turning on this bit. The intention use of this bit is to continuously monitor the 'Link Status' bit in MII register 1 (bit 2). 1 r 0 MiiDataValid: MII management data valid. When the serial MII management interface completes a read transaction from an external physical device, the read data and the address of the device (as its mapped in the AIC-6915) are latched, and the MIIDATAVALID bit is set, indicating to the software driver that valid data is ready. Any read or write to the MIIREGISTERSACCESSPORT resets the bit, unless it is a read access, and the target address equals the latched address of the read data. In this case MIIDATAVALID resets only after the data is passed to the host, otherwise it resets immediately. 0 r 0 MiiBusy: MII management busy. The host should poll this bit before reading data from MIIACCESSPORT register or issuing next write command. It is high when MII serial interface is transferring data. 7-80

  • 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-80
AIC-6915 Ethernet LAN Controller Programmer’s Manual
MIIStatus Register
Type: R/W
Internal Registers Subgroup: MAC Registers
Byte Address:
5070h - 5073h
Table 7-106. MIIStatus Register
Bit(s)
rw
Reset
value
Description/Function
31:5
r
0
Reserved:
Always read as 0.
4
r
0
MIILink Fail:
MII Link Fail indicator. Setting this bit indicates to the
current PHY that the AIC-6915 is continuously scanning for link
status. The external PHY’s Status register’s (Register 1) bit 2, has
failed. This bit is cleared during normal operation.
Note:
This bit is only valid when the
S
CAN
bit is set. Otherwise, the
bit has no meaning.
3
r
0
NotValid:
Indicates the period of time at the beginning of a scan
operation when the external PHY link fail indicator (MIILF) is not
valid.
2
r/w
0
Scan:
MII management scan. When this bit is set, the host
continuously reads the same external
MII PHY
register specified by
MIIP
HY
A
D
and
MIIR
EG
A
D
in the MIIAdr register. The
MIIA
DR
register must be appropriately set before turning on this bit. The
intention use of this bit is to continuously monitor the ‘Link Status’
bit in
MII
register 1 (bit 2).
1
r
0
MiiDataValid:
MII management data valid. When the serial MII
management interface completes a read transaction from an external
physical device, the read data and the address of the device (as its
mapped in the AIC-6915) are latched, and the
M
II
D
ATA
V
ALID
bit is
set, indicating to the software driver that valid data is ready. Any
read or write to the
MIIR
EGISTERS
A
CCESS
P
ORT
resets the bit, unless
it is a read access, and the target address equals the latched address
of the read data. In this case
M
II
D
ATA
V
ALID
resets only after the
data is passed to the host, otherwise it resets immediately.
0
r
0
MiiBusy:
MII management busy. The host should poll this bit before
reading data from
MIIA
CCESS
P
ORT
register or issuing next write
command. It is high when MII serial interface is transferring data.