add SMSC LAN9x1x Network driver
A message that is not in the archive (sent off-list or not yet received): mailman.71288.1206627489.31037.u-boot-users@lists.sourceforge.net
PATCH v2 4/7 add SMSC LAN9x1x Network driver
Quoted 4 lines · Peter Pearse
By coding style I mean the nasty macros, not stuff like brackets and whitespace. If the code was more readable and addressed the bus width
differences between chips, this would probably go in quickly. I'll
have
Quoted 1 line
another look to see if I can be more helpful rather than curmudgeonly.
Re: bus width differences
We've been using the lan9115 (16-bit interface) with the SMSC linux derived driver
(patch I posted back in, uh, October 2006) and the lan9115 chip will work correctly
with 32 bit code accesses over the 16 bit interface.
The host we're using is an RMI Au1200 which has a sensible static bus interface.
That said, I can see that using pointer constants for register access like this new
code does is an issue for code portability.
Tim Braun, Sr. Des. Eng.
LibreStream Technologies
http://www.librestream.com
895 Waverley St., Suite 110, Winnipeg, MB R3T 5P4