[U-Boot] Generic MII interface

Mike Frysinger vapier at gentoo.org
Tue Mar 17 17:05:39 CET 2009


On Tuesday 17 March 2009 10:50:59 Remco Poelstra wrote:
> While working on cleaning up my LPC2468 port, I was wondering whether
> I'm correct in thinking that U-boot has some generic MII interface? My
> processor has a MAC which uses (R)MII to communicate with the PHY. Can I
> adapt my MAC driver for such interface, so the MAC and PHY code can be
> separated?

there is a generic mii command so people can bang on the mii directly, but 
there is no mac/phy driver framework like in the kernel.  a net driver 
currently has to support both the mac and phy.  of course, if you limit the 
phy commands used in your mac driver to only the standard ones, it should 
remain fairly portable with different phys ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090317/f8294e89/attachment.pgp 


More information about the U-Boot mailing list