Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Reg - Writing MII driver: (2 Items)
   
Reg - Writing MII driver  
Hi,

I want to write a driver to control my PHY device.

How can i write tell me the procedure?

Thanks and Regards
K.Senthil
RE: Reg - Writing MII driver  
> I want to write a driver to control my PHY device.

Ethernet PHYs are quite literally (through
the MDIO bus) tied to their ethernet nic.

As such, the same driver that controls and
configures the ethernet nic generally controls 
and configures the ethernet phy.

There are many, many examples of ethernet
drivers (both 6.3 io-net and 6.4 io-pkt) 
which do this.

Generally, it is best to look over the source,
and find a driver which is closest to your
hardware, and use it as a starting point.

I still don't recommend the alien green women,
though, no matter how much Captain Kirk was
fond of them.

--
aboyd