[U-Boot] Question: Information regarding MII and PHY
Mike Frysinger
vapier at gentoo.org
Fri Sep 23 03:23:06 CEST 2011
On Thursday, September 22, 2011 20:17:33 Graeme Russ wrote:
> 2) The Linux network driver framework (at least now) is so
> massive that porting a network driver over is practically impossible.
> Is the U-Boot network driver framework similar in any way to the Linux
> framework such that I can take relevant portions of code straight from
> a Linux driver, or is it a case of carefully picking out the relevant
> bits and stitching together a entirely new beast?
the net drivers in u-boot tend to be pretty thin because we're single
threaded. so the Linux drivers are good to see it setting up the hardware
registers, but that's about it.
> 3) Any idea what would be one of the most recent network drivers added
> from scratch to U-Boot that would serve as a 'style guide' for my new
> driver?
look at doc/README.drivers.eth. this should cover the eth layer (not PHY).
-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/20110922/9e755ee1/attachment.pgp
More information about the U-Boot
mailing list