Maxim Integrated 78Q8430 Linux Driver ARM Platform User Manual
Page 12

78Q8430 Linux Driver ARM Platform User Guide
UG_8430_008
12
Rev.
1.0
M: RMON counter control
Syntax:
8430-tool ethn -M [on|off|clear] [set reg offset [0|1] value]
Description:
This command option operates on the RMON counters.
Operands:
[on|off|clear]
Toggles the RMON counters on or off or clears all RMON counters.
set
Sets a given RMON register and its software 64-bit shadow register word to the
specified value.
reg
RMON register number.
offset [0|1]
Each RMON register is 64 bits wide divided into two 32-bit words. 0 and 1 specify
the high and low registers respectively.
value
The 32-bit hex value to be placed into the high or low register specified by offset
above.
Both the high and low 32-bit words of the 64-bit register should be written. This requires two
distinct command entries, one for offset 0 and a second for offset 1.
p: PHY control support
Syntax:
8430-tool ethn -p link [ 100fd | 100hd | 10fd | 10hd ]
read
reg
write
reg value
mdix
[[auto [on|off]] | on|off]
pwrsave [on|off]
PWRSAVE requires external clocking. Do not attempt PWRSAVE if the 78Q8430 is
configured for internal clocking.
Description:
This command option causes the driver to display or access the PHY registers or turn mdix,
auto-negotiation or the power save state on or off.
Operands:
link [ 100fd | 100hd | 10fd | 10hd ] Set the speed and duplex status of the link. Use of this
command assumes that auto-negotiation is off. The available values are:
•
100fd 100 Mbps, Full Duplex
•
100hd 100 Mbps, Half Duplex
•
10fd
10 Mbps, Full Duplex
•
10hd
10 Mbps, Half Duplex
read
Keyword to display the contents of a PHY register.
reg
Specifies the PHY register to be read.
write
Keyword to modify the contents of a PHY register.
reg
Specifies the PHY register to be written.
value
The hex value to write to the register.
mdix
Modifies the negotiation state for RX/TX wire crossover.
auto [on|off]
Toggles auto-negotiation on or off. Auto-negotiation must be off to configure it
manually.