[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1486784898.3983.1.camel@163.com>
Date: Sat, 11 Feb 2017 11:48:18 +0800
From: yuan linyu <cugyly@....com>
To: Andrew Lunn <andrew@...n.ch>,
YUAN Linyu <Linyu.Yuan@...atel-sbell.com.cn>
Cc: Zefir Kurtisi <zefir.kurtisi@...atec.com>,
David Miller <davem@...emloft.net>,
"f.fainelli@...il.com" <f.fainelli@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] net: add regs attribute to phy device for user diagnose
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
Powered by blists - more mailing lists