Thread (4 messages) flat view 4 messages, 2 authors, 2016-09-08

Re: [PATCH 3/4] net: phy: Add read driver for Microsemi PHYs.

From: Raju Lakkaraju <hidden>
Date: 2016-09-08 09:58:05

Hi Andrew,

Thank you for review the code and valuable comments.

On Wed, Aug 24, 2016 at 03:13:47PM +0200, Andrew Lunn wrote:
EXTERNAL EMAIL


On Wed, Aug 24, 2016 at 12:27:07PM +0000, Raju Lakkaraju wrote:
quoted
From: Nagaraju Lakkaraju <redacted>

PHY Read support will be added for VSC 85xx Microsemi PHYs.
Why do i need this, when we have SIOCGMIIREG?
Microsemi PHY have different pages i.e. Std IEEE, Extended, Extended_2, Extended_3 and
GPIO pages.
When I want to use SIOCGMIIREG, I can read Std IEEE only with SIOCGMIIREG and not other 
pages.
phy_read_reg function is debug function where I can read entair PHY registers.
In this function, I set the page number and register address then read register value
as atomic operation.

Do you have any suggestions to implement this function in different ways?

Thanks,
Raju.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help