From: Mike Frysinger Date: Wed, 24 Mar 2010 16:35:57 -0400 Subject: [U-Boot] [PATCH] net, fec_mxc: use mac address stored in env before looking in eeprom In-Reply-To: <4BA9FDEC.9010903@denx.de> References: <4BA9FDEC.9010903@denx.de> Message-ID: <201003241635.58377.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 24 March 2010 07:56:28 Heiko Schocher wrote: > doc/README.enetaddr prescribes, to use a mac address stored in > environment, before using a mac address stored in some special > place. you're reading things incorrectly, or you didnt read the whole thing. the fec_mxc driver is correct today. its initialize function seeds eth_device- >enetaddr with the hardware storage. it is up to the common networking code to sync the environment to eth_device before calling the driver init function (which it does). then the driver always uses eth_device->enetaddr. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20100324/617e0e43/attachment.pgp