u-boot/net
Mike Frysinger 86848a74c3 net: sync env ethaddr to device enetaddr in eth_init()
In the previous enetaddr refactoring, the assumption with commit 56b555a644
was that the eth layer would handle the env -> device enetaddr syncing.
This was not the case as eth_initialize() is called only once and the sync
occurs there.  So make sure the eth_init() function does the env -> device
sync with every network init.

Reported-by: Andrzej Wolski <awolski@poczta.fm>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2009-08-07 17:39:23 -07:00
..
bootp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
bootp.h net: express the first argument to NetSetTimeout() in milliseconds 2008-10-18 21:54:00 +02:00
dns.c Coding Style cleanup; update CHANGELOG. 2009-07-23 22:23:23 +02:00
dns.h Add DNS support 2009-07-22 22:53:44 -07:00
eth.c net: sync env ethaddr to device enetaddr in eth_init() 2009-08-07 17:39:23 -07:00
Makefile minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
net.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
nfs.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
nfs.h * Patch by Steven Scholz, 25 Feb 2004: 2004-02-27 00:07:27 +00:00
rarp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
rarp.h Initial revision 2002-07-20 20:14:13 +00:00
sntp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
sntp.h * Patch by Masami Komiya, 30 Mar 2005: 2005-04-01 00:25:43 +00:00
tftp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
tftp.h Initial revision 2000-12-28 11:02:30 +00:00