phytool
Linux下MDIO寄存器操作指令
phytool指令
phytool read IFACE/ADDR/REG
phytool write IFACE/ADDR/REG <0-0xffff>
phytool print IFACE/ADDR[/REG]
Clause 22:
ADDR := <0-0x1f>
REG := <0-0x1f>
Clause 45 (not supported by all MDIO drivers):
ADDR := PORT:DEV
PORT := <0-0x1f>
DEV := <0-0x1f>
REG := <0-0xffff>
phytool举例
# phytool read eth4/0/4
0x0de1
~ # phytool print eth0/0
ieee-phy: id:0x01410eb1
ieee-phy: reg:BMCR(0x00) val:0x1140
flags: -reset -loopback +aneg-enable -power-down -isolate -aneg-restart -collision-test
speed: 1000-full
ieee-phy: reg:BMSR(0x01) val:0x7949
capabilities:
标签:IFACE,ADDR,T750,phytool,phy,21.02,ieee,REG,openwrt
From: https://blog.csdn.net/wgl307293845/article/details/143887417