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

From: Andrew Lunn
Date: Thu Sep 17 2020 - 18:15:57 EST

On Fri, Sep 18, 2020 at 12:40:10AM +0300, Sergej Bauer wrote:
> From: sbauer@xxxxxxxxxxx
> 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 loopback device. Baud rate can be tuned with
> ethtool from command line or by means of SIOCSMIIREG ioctl. Duplex mode not
> configurable and it's allways DUPLEX_FULL.

Hi Sergej

What is the advantage of this over using driver/net/phy/fixed_phy.c
which also emulates a standard PHY?