Subject: Re: [PATCH] net: add regs attribute to phy device for user diagnose

From: yuan linyu <[email-masked]>
Date: Sat, 11 Feb 2017 11:48:18 +0800

On 四, 2017-01-19 at 02:01 +0100, Andrew Lunn wrote:
> > 
> > I will add two ethtool command in kernel to read and write register in PHY. 
> Write access will get NACKed by me. Read only please.
some register need to write some value first then read.
if read only, it will not achieve the goal.
> 
> > 
> > ethtool can use these command to dump what user want, there is no
> > more work to PHY driver.
> Please think about how you handle PHYs with pages. This needs to be
> part of the API.
thank, I will.
>      Andrew