lkml.org 
[lkml]   [2021]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH] net: phy/mdio: enable mmd indirect access through phy_mii_ioctl()
From
Date
Hi Russell, Andrew,

Thanks a lot for you comments.

On 02/11/2021 19:41, Russell King (Oracle) wrote:
> On Tue, Nov 02, 2021 at 07:19:46PM +0200, Grygorii Strashko wrote:
>> It would require MDIO bus lock, which is not a solution,
>> or some sort of batch processing, like for mmd:
>> w reg1 val1
>> w reg2 val2
>> w reg1 val3
>> r reg2
>>
>> What Kernel interface do you have in mind?
>
> That is roughly what I was thinking, but Andrew has basically said no
> to it.
>
>> Sry, but I have to note that demand for this become terribly high, min two pings in months
>
> Feel free to continue demanding it, but it seems that at least two of
> the phylib maintainers are in agreement that providing generic
> emulation of C45 accesses in kernel space is just not going to happen.
>

not ready to give up.

One more idea how about mdiobus_get_phy(), so we can search for PHY and
if present try to use proper API phy_read/phy_write_mmd?


--
Best regards,
grygorii

\
 
 \ /
  Last update: 2021-11-02 19:38    [W:0.405 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site