Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - MDI_FindPhy and MDI_InitPhy: (2 Items)
   
MDI_FindPhy and MDI_InitPhy  
Can anyone tell me what these APIs are doing specifically? Which device addresses do they search? What do they look for 
being returned? My call to FindPhy fails but my InitPhy succeeds. The driver on the whole does not work. I am trying to 
drive a Marvell 88E6060 chip and the registers may be a little non-standard so I'm not sure if the MDI_xxx calls are 
working correctly. How can I write my own? Can I see the source code for them? Thanks.
RE: MDI_FindPhy and MDI_InitPhy  
They are looking for and attempting to initialize the Ethernet PHY chip
(Ethernet generally comes with a MAC chip combined with a PHY chip).

There is an IEEE standardized set of registers that PHY chips should
implement that cover 99.9% of PHY operation.

The source code is available here:

http://community.qnx.com/integration/viewcvs/viewcvs.cgi/trunk/sys/lib/l
ibdrvr/?root=core_networking&system=exsy1001


	Robert.

-----Original Message-----
From: Russell Shulman [mailto:community-noreply@qnx.com] 
Sent: Friday, August 01, 2008 3:18 PM
To: drivers-networking
Subject: MDI_FindPhy and MDI_InitPhy

Can anyone tell me what these APIs are doing specifically? Which device
addresses do they search? What do they look for being returned? My call
to FindPhy fails but my InitPhy succeeds. The driver on the whole does
not work. I am trying to drive a Marvell 88E6060 chip and the registers
may be a little non-standard so I'm not sure if the MDI_xxx calls are
working correctly. How can I write my own? Can I see the source code for
them? Thanks.

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post11359