There is IP175C switch on this board. How can I access to MDIO interface in Linux?
I want to change VLAN settings on this switch. Suggest please any way to do this...
Solved! Go to Solution.
Finaly I've rewritten UCC GETH driver to support mii-tool ioctls! After a week of seeking appropriate patch I decide to write it myself and it works
Noone helped me, even Freescale support!
Here you are: uccgeth driver with ethtool/mii-tool support. Unpack files in "rpm/build/.../drivers/net" directory, recompile LTIB and enjoy :smileywink:
With normal ethernet drivers I should use IOCTL with
SIOCGMIIREG/SIOCSMIIREG. But this operation
is not supported by UCC GETH driver in this BSP. This driver has no
support for ethtool/mii-tool...
when I try:
~ # ethtool eth0
Settings for eth0:
No data available
`# mii-tool eth0
SIOCGMIIPHY on 'eth0' failed: Operation not supported
I aplied patch from "ucc_geth: add ethtool support" from
http://www.mail-archive.com/git-commits-head@vger.kernel.org/msg19434.html
and ethtool seems to work now. But with ETHTOOL API impossible to
read/write from/to PHY devices. I need mii-tool support for this driver.
What to do? How make IOCTL with SIOCGMIIREG/SIOCSMIIREG?
Finaly I've rewritten UCC GETH driver to support mii-tool ioctls! After a week of seeking appropriate patch I decide to write it myself and it works
Noone helped me, even Freescale support!
Here you are: uccgeth driver with ethtool/mii-tool support. Unpack files in "rpm/build/.../drivers/net" directory, recompile LTIB and enjoy :smileywink:
Sorry I attached empty file
Here working one...
Hi,
First of all, I congratulates you for the effort taken. But where is the attachment ?MDIO on Linux (mpc8323e-rdb)