From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 11 Nov 2009 11:32:28 -0500 Subject: [U-Boot] [PATCH 5/5] smc911x: allow mac address to be kept after smc911x_halt In-Reply-To: <4AFAE0C4.50809@compulab.co.il> References: <200911111023.36100.vapier@gentoo.org> <4AFAE0C4.50809@compulab.co.il> Message-ID: <200911111132.29168.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 11 November 2009 11:05:24 Mike Rapoport wrote: > Mike Frysinger wrote: > > On Wednesday 11 November 2009 03:03:04 Mike Rapoport wrote: > >> The smc911x_halt gets called after completion of network opration > >> and resets the chip. When there is no SROM attached to the SMSC, MAC > >> address gets reset as well. Add CONFIG_SMC911X_KEEP_MAC option to allow > >> boards with no SROM instruct the SMSC driver to keep mac address after > >> the reset > > > > the mac already has proper storage -- the environment. please read > > doc/REAdME.enetaddr. so i dont thinkt his option should be added. > > If you have no network activity in U-Boot the mac address never gets from > the environment to the SMSC chip. So, when the kernel boots there's no mac > address neither in the chip registers nor in (absent) SROM. this is correct u-boot behavior. please read the faq. http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux -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/20091111/1ea9a2f5/attachment.pgp