From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Gardiner Date: Thu, 23 Sep 2010 09:24:03 -0400 Subject: [U-Boot] [PATCH v4 1/2][NEXT] davinci_emac: davinci_eth_set_mac_addr to ->write_hwaddr In-Reply-To: <4C9B17D9.6020700@ge.com> References: <4C9B17D9.6020700@ge.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Sep 23, 2010 at 5:03 AM, Nick Thompson wrote: > davinci_eth_set_mac_addr() always returns zero, so "if (!dev->write_hwaddr(dev))" > always appears to fail here. > > In net/eth.c the return code is not checked, so da830 should probably ignore it to: You're absolutely right, Nick. Thanks for the review and testing; patch coming. Best Regards, Ben Gardiner --- Nanometrics Inc. http://www.nanometrics.ca