lkml.org 
[lkml]   [2020]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] add virtual PHY for PHY-less devices
From
Date


On 9/17/2020 2:40 PM, Sergej Bauer wrote:
> From: sbauer@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 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.
>
> It also provides module parameter mii_regs for setting initial values of
> IEEE 802.3 Control Register.

You appear to have re-implemented the fixed PHY driver, please use that
instead of rolling your own.
--
Florian

\
 
 \ /
  Last update: 2020-09-18 00:17    [W:0.136 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site