[U-Boot] Generic MII interface

Hi,
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?
Kind regards,
Remco Poelstra

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
participants (2)
-
Mike Frysinger
-
Remco Poelstra