
23 Sep
2011
23 Sep
'11
3:23 a.m.
On Thursday, September 22, 2011 20:17:33 Graeme Russ wrote:
- 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.
- 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