表
1 PHY
管理寄存器集
|
|||
Register address
|
Register name
|
Basic/Extended
MII GMII
|
|
0
|
Control
|
B
|
B
|
1
|
Status
|
B
|
B
|
2,3
|
PHY Identifier
|
E
|
E
|
4
|
Auto-Negotiation Advertisement
|
E
|
E
|
5
|
Auto-Negotiation Link Partner Base Page Ability
|
E
|
E
|
6
|
Auto-Negotiation Expansion
|
E
|
E
|
7
|
Auto-Negotiation Next Page Transmit
|
E
|
E
|
8
|
Auto-Negotiation Link Partner Received Next Page
|
E
|
E
|
9
|
MASTER-SLAVE Control Register
|
E
|
E
|
10
|
MASTER-SLAVE Status Register
|
E
|
E
|
11 through 14
|
Reserved
|
E
|
E
|
15
|
Extended Status
|
Reserved
|
B
|
16 through 31
|
Vendor Specific
|
E
|
E
|
表2
Control Register
|
|||
Bit(s)
|
Name
|
Description
|
R/Wa
|
0.15
|
Reset
|
1 = PHY reset
0 = normal operation
|
R/W SC
|
0.14
|
Loopback
|
1 = enable loopback mode
0 = disable loopback mode
|
R/W
|
0.13
|
Speed Selection (LSB)
|
0.6 0.13
1 1 = Reserved
1 0 = 1000 Mb/s
0 1 = 100 Mb/s
0 0 = 10 Mb/s
|
R/W
|
0.12
|
Auto-Negotiation Enable
|
1 = Enable Auto-Negotiation Process
0 = Disable Auto-Negotiation Process
|
R/W
|
0.11
|
Power Down
|
1 = power down
0 = normal operation
|
R/W
|
0.10
|
Isolate
|
1 = electrically Isolate PHY from MII or GMII
0 = normal operation
|
R/W
|
0.9
|
Restart Auto-Negotiation
|
1 = Restart Auto-Negotiation Process
0 = normal operation
|
R/W SC
|
0.8
|
Duplex Mode
|
1 = Full Duplex
0 = Half Duplex
|
R/W
|
0.7
|
Collision Test
|
1 = enable COL signal test
0 = disable COL signal test
|
R/W
|
0.6
|
Speed Selection (MSB)
|
0.6 0.13
1 1 = Reserved
1 0 = 1000 Mb/s
0 1 = 100 Mb/s
0 0 = 10 Mb/s
|
R/W
|
0.5:0
|
Reserved
|
Write as 0, ignore on Read
|
R/W
|
表3
Status register
|
|||
Bit(s)
|
Name
|
Description
|
R/Wa
|
1.15
|
100BASE-T4
|
1 = PHY able to perform 100BASE-T4
0 = PHY not able to perform 100BASE-T4
|
RO
|
1.14
|
100BASE-X Full Duplex
|
1 = PHY able to perform full duplex 100BASE-X
0 = PHY not able to perform full duplex 100BASE-X
|
RO
|
1.13
|
100BASE-X Half Duplex
|
1 = PHY able to perform half duplex 100BASE-X
0 = PHY not able to perform half duplex 100BASE-X
|
RO
|
1.12
|
10 Mb/s Full Duplex
|
1 = PHY able to operate at 10 Mb/s in full duplex mode
0 = PHY not able to operate at 10 Mb/s in full duplex mode
|
RO
|
1.11
|
10 Mb/s Half Duplex
|
1 = PHY able to operate at 10 Mb/s in half duplex mode
0 = PHY not able to operate at 10 Mb/s in half duplex mode
|
RO
|
1.1
|
100BASE-T2 Full Duplex
|
1 = PHY able to perform full duplex 100BASE-T2
0 = PHY not able to perform full duplex 100BASE-T2
|
RO
|
1.9
|
100BASE-T2 Half Duplex
|
1 = PHY able to perform half duplex 100BASE-T2
0 = PHY not able to perform half duplex 100BASE-T2
|
RO
|
1.8
|
Extended Status
|
1 = Extended status information in Register 15
0 = No extended status information in Register 15
|
RO
|
1.7
|
Reserved
|
ignore when read
|
RO
|
1.6
|
MF Preamble Suppression
|
1 = PHY will accept management frames with preamble suppressed.
0 = PHY will not accept management frames with preamble suppressed.
|
RO
|
1.5
|
Auto-Negotiation Complete
|
1 = Auto-Negotiation process completed
0 = Auto-Negotiation process not completed
|
RO
|
1.4
|
Remote Fault
|
1 = remote fault condition detected
0 = no remote fault condition detected
|
RO/ LH
|
1.3
|
Auto-Negotiation Ability
|
1 = PHY is able to perform Auto-Negotiation
0 = PHY is not able to perform Auto-Negotiation
|
RO
|
1.2
|
Link Status
|
1 = link is up
0 = link is down
|
RO/ LL
|
1.1
|
Jabber Detect
|
1 = jabber condition detected
0 = no jabber condition detected
|
RO/ LH
|
1
|
Extended Capability
|
1 = extended register capabilities
0 = basic register set capabilities only
|
RO
|
表4A
Auto-Negotiation Advertisement Register
(Copper)
|
|||
Bit(s)
|
Name
|
Description
|
R/W
|
4.15
|
Next Page
|
0=Next Page ability is not supported/No NP to exchange
1=Next Page to exchange
|
R/W
|
4.14
|
Reserved
|
Write as zero, ignore on read
|
RO
|
4.13
|
Remote Fault
|
0=don't transmit Remote Fault Information
1=transmit Remote Fault Information
|
R/W
|
4.12:5
|
Technology Ability Field
|
Technologies supported by local PHY to Advertise
|
R/W
|
4.4:0
|
Selector Field
|
the type of message being sent by Auto-Negotiation
|
R/W
|
Technology Ability Field
|
||
Bit
|
Technology
|
Minimum cabling requirement
|
A0
|
10BASE-T
|
Two-pair category 3
|
A1
|
10BASE-T full duplex
|
Two-pair category 3
|
A2
|
100BASE-TX
|
Two-pair category 5
|
A3
|
100BASE-TX full duplex
|
Two-pair category 5
|
A4
|
100BASE-T4
|
Four-pair category 3
|
A5
|
PAUSE operation for full duplex links
|
Not applicable
|
A6
|
Asymmetric PAUSE operation for full duplex Links
|
Not applicable
|
A7
|
Reserved for future technology
|
表4B
Auto-Negotiation Advertisement Register
(1000BASE-X)
|
|||
Bit(s)
|
Name
|
Description
|
R/W
|
4.15
|
Next Page
|
0=Next Page ability is not supported/No NP to exchange
1=Next Page to exchange
|
R/W
|
4.14
|
Reserved
|
Write as zero, ignore on read
|
RO
|
4.13:12
|
Remote Fault
|
0=don't transmit Remote Fault Information
1=transmit Remote Fault Information
|
R/W
|
4.11:9
|
Reserved
|
Write as zero, ignore on read
|
RO
|
4.8:7
|
Pause
|
0= don't Advertise Pause capability
1= Advertise Pause capability
|
R/W
|
4.6
|
Half Duplex
|
0= don't Advertise 1000BASE-X HD capability
1= Advertise 1000BASE-X HD capability
|
R/W
|
4.5
|
Full Duplex
|
0= don't Advertise 1000BASE-X FD capability
1= Advertise 1000BASE-X FD capability
|
R/W
|
4.4:0
|
Reserved
|
Write as zero, ignore on read
|
RO
|
表5
Auto-Negotiation Expansion Register
|
|||
Bit(s)
|
Name
|
Description
|
R/W
|
6.15:5
|
Reserved
|
Write as zero, ignore on read
|
RO
|
6.4
|
Parallel Detection Fault
|
1 = fault detected via the Parallel Detection function.
0 = No fault detected via the Par-allel Detection function.
|
RO/ LH
|
6.3
|
Link Partner Next Page Able
|
1 = Link Partner is Next Page able
0 = Link Partner is not Next Page able
|
RO
|
6.2
|
Next Page Able
|
1 = Local Device is Next Page able
0 = Local Device is not Next Page able
|
RO
|
6.1
|
Page Received
|
1 = A New Page has been received
0 = A New Page has not been received
|
RO/ LH
|
6.0
|
Link Partner AN Able
|
1 = Link Partner is Auto-Negotiation able
0 = Link Partner is not Auto-Negotiation able
|
RO
|
表6
MASTER-SLAVE Control Register
|
|||
Bit
|
Name
|
Description
|
Type
|
9.15:13
|
Test mode bits
|
Transmitter test mode operations
|
R/W
|
9.12
|
MASTER-SLAVE Manual Config Enable
|
1=Enable MASTER-SLAVE Manual configuration value
0=Disable MASTER-SLAVE Manual configuration value Default bit value is 0.
|
R/W
|
9.11
|
MASTER-SLAVE Config Value
|
1=Configure PHY as MASTER during MASTER-SLAVE negotiation
0=Configure PHY as SLAVE during MASTER-SLAVE negotiation
|
R/W
|
9.10
|
Port type
|
Indicate the preference to oper-ate as MASTER (multiport device) or as SLAVE (sin-gle-port device) if the bit 9.12, is not set.
|
R/W
|
9.9
|
1000BASE-T Full Duplex
|
1 = Advertise PHY is 1000BASE-T full duplex capable.
0 = Advertise PHY is not 1000BASE-T full duplex capable.
|
R/W
|
9.8
|
1000BASE-T Half Duplex
|
1 = Advertise PHY is 1000BASE-T half duplex capable.
0 = Advertise PHY is not 1000BASE-T half duplex capable.
|
R/W
|
9.7:0
|
Reserved
|
Write as 0, ignore on read.
|
R/W
|
表7
MASTER-SLAVE Status Register
|
|||
Bit
|
Name
|
Description
|
Type
|
10.15
|
MASTER-SLAVE configuration fault
|
Configuration fault, as well as the criteria and method of fault detection, is PHY specific.
|
RO/LH/SC
|
10.14
|
MASTER-SLAVE configuration resolution
|
1 = Local PHY configuration resolved to MASTER
0 = Local PHY configuration resolved to SLAVE
|
RO
|
10.13
|
Local Receiver Status
|
1 = Local Receiver OK
0 = Local Receiver not OK
|
RO
|
10.12
|
Remote Receiver Status
|
1 = Remote Receiver OK
0 = Remote Receiver not OK
|
RO
|
10.11
|
LP 1000T FD
|
1 = Link Partner is capable of 1000BASE-T full duplex
0 = Link Partner is not capable of 1000BASE-T full duplex
|
RO
|
10.10
|
LP 1000T HD
|
1 = Link Partner is capable of 1000BASE-T half duplex
0 = Link Partner is not capable of 1000BASE-T half duplex
|
RO
|
10.9:8
|
Reserved
|
Reserved
|
RO
|
10.7:0
|
Idle Error Count
|
Bits 10.7:0 indicate the Idle Error count, where 10.7 is the most significant bit.
|
RO/SC
|