Re: [PATCH] add virtual PHY for PHY-less devices

2020-09-17 Thread Florian Fainelli
(please do not top-post) On 9/17/2020 5:17 PM, Sergej Bauer wrote: Hi Andrew To tell the truth, I thought that fixed_phy is only for devices with a Device Trees and I never met DTS on x86 machines... fixed_phy existed long before Device Tree was popular and you can register a fixed PHY de

Re: [PATCH] add virtual PHY for PHY-less devices

2020-09-17 Thread Sergej Bauer
Hi Florian The fixed-PHY driver looks a little bit hardly tunable, please look at https://www.lkml.org/lkml/2020/9/17/1424 This is not my idea. This is a request of HW team, and I thnk it will be useful for someone else. But I'll try to combine fixed-phy with virtual-PHY tomorrow. It just to r

Re: [PATCH] add virtual PHY for PHY-less devices

2020-09-17 Thread Sergej Bauer
Hi Andrew To tell the truth, I thought that fixed_phy is only for devices with a Device Trees and I never met DTS on x86 machines... So it looks like there realy no any significant advantage _except_ of ability to use ethtool and ioctl to set speed and rx-all/fcs flags without removing module.

Re: [PATCH] add virtual PHY for PHY-less devices

2020-09-17 Thread Florian Fainelli
On 9/17/2020 2:40 PM, Sergej Bauer wrote: From: sba...@blackbox.su Here is a kernel related part of my work which was helps to develop brand new PHY device. It is migth be helpful for developers work with PHY-less lan743x (7431:0011 in my case). It's just a fake virtual PHY which c

Re: [PATCH] add virtual PHY for PHY-less devices

2020-09-17 Thread Andrew Lunn
On Fri, Sep 18, 2020 at 12:40:10AM +0300, Sergej Bauer wrote: > From: sba...@blackbox.su > > Here is a kernel related part of my work which was helps to develop brand > new PHY device. > > It is migth be helpful for developers work with PHY-less lan743x > (7431:0011 in my case). It's just

[PATCH] add virtual PHY for PHY-less devices

2020-09-17 Thread Sergej Bauer
From: sba...@blackbox.su Here is a kernel related part of my work which was helps to develop brand new PHY device. It is migth be helpful for developers work with PHY-less lan743x (7431:0011 in my case). It's just a fake virtual PHY which can change speed of network card processing as a l