From: Mike Frysinger Date: Tue, 17 Mar 2009 12:05:39 -0400 Subject: [U-Boot] Generic MII interface In-Reply-To: <49BFB8D3.2070100@duran-audio.com> References: <49BFB8D3.2070100@duran-audio.com> Message-ID: <200903171205.40529.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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