[U-Boot-Users] patch for SMsC 91C96 ethernet driver

Josh Fryman fryman at cc.gatech.edu
Sat Feb 21 06:35:51 CET 2004


hi all,

attached is a patch for lan91c96.c, a network driver apparently only used
by the lubbock board and my platform port.

the patch does a variety of things.  i'd appreciate feedback, corrections,
reports of breakage, etc.  i'm also not sure that this is necessarily the
"best" solution for some of the problems we had.

 - support little-endian mode to push MAC address correctly

 - removal of the hard-coded "attribute space" and replacement with a 
   #define constant

 - clean up the hardware-init, smc-open, and smc-enable to more closely
   follow the manual in how to set parameters

 - a couple of minor cleanups

-josh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.C
Type: application/octet-stream
Size: 9887 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040221/5589b40a/attachment.obj 


More information about the U-Boot mailing list