[U-Boot] [PATCH] NET: add ENC28J60 driver using SPI framework

Mike Frysinger vapier at gentoo.org
Fri Sep 3 21:51:03 CEST 2010


On Friday, September 03, 2010 13:50:28 Reinhard Meyer wrote:
> Something like this?

yes

> I agree that's more perfect but kind of overkill, too;
> assuming that only one enc can be active at any given time;)

yes and no.  the spi bus/cs/mode/speed is established at initialize() time, 
not init(), so you'd need to store that per-instance information somewhere.  
and how the discussion about netconsole handling falls out (not calling 
init/halt after every transaction), this base assumption may not be valid.
-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/20100903/3300012f/attachment.pgp 


More information about the U-Boot mailing list