On 六, 2017-01-14 at 10:35 -0800, Florian Fainelli wrote: > On 01/14/2017 08:24 AM, Andrew Lunn wrote: > > > > On Sat, Jan 14, 2017 at 10:46:31AM +0800, yuan linyu wrote: > > > > > > From: yuan linyu <linyu.y...@alcatel-sbell.com.cn> > > > > > > if phy device have register(s) configuration problem, > > > user can use this attribute to diagnose. > > > this feature need phy driver maintainer implement. > > what is wrong with mii-tool -vv ? > Agreed, and without an actual user of this API (ethtool?), nor a PHY > driver implementing it, we cannot quite see how you want to make use of > this. I hope user/developer can read this attribute file "regs" to do a full check of all registers value, and they can write any register inside PHY through this file.
I think mii-tool or ethtool can't do it currently. > > Thank you