Only one phy can be accessed through ioctls to a socket (patch available)

Andy Fleming afleming at freescale.com
Thu Aug 23 05:00:22 EST 2007


On Aug 22, 2007, at 03:56, DI BACCO ANTONIO - technolabs wrote:

> In file fs_enet-main.c in function fs_ioctl the phy_mii_ioctl can be
> issued only to the phydev associated with the FEC. If I have several
> PHYs and only one associated to the FEC I cannot access all the   
> PHYs. I
> have a patch to overcome this limitation, is it interesting or not
> useful?
>
> I need this patch because I have instantiated a virtual "Fixed PHY"  
> and
> I have associated it to my FEC,  anyway I would like to access  
> registers
> of my physical PHY.


I'd certainly be interested in seeing it.

Andy


More information about the Linuxppc-embedded mailing list