From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Wed, 05 Aug 2009 14:26:50 -0700 Subject: [U-Boot] [PATCH] net: sync env ethaddr to device enetaddr in eth_init() In-Reply-To: <20090805212457.DE547832E416@gemini.denx.de> References: <1247707888-5415-1-git-send-email-vapier@gentoo.org> <20090805212457.DE547832E416@gemini.denx.de> Message-ID: <4A79F91A.4060005@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear Ben, > > In message <1247707888-5415-1-git-send-email-vapier@gentoo.org> Mike Frysinger wrote: > >> 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 >> Signed-off-by: Mike Frysinger >> --- >> Andrzej: please try this patch instead for your macb troubles >> >> include/net.h | 2 +- >> net/eth.c | 52 +++++++++++++++++++++++----------------------------- >> 2 files changed, 24 insertions(+), 30 deletions(-) >> > > Ping... > > Best regards, > > Wolfgang Denk > > This came after the merge window closed, but appears to be a bug fix so I'll process tonight. regards, Ben