From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Rapoport Date: Wed, 11 Nov 2009 18:05:24 +0200 Subject: [U-Boot] [PATCH 5/5] smc911x: allow mac address to be kept after smc911x_halt In-Reply-To: <200911111023.36100.vapier@gentoo.org> References: <200911111023.36100.vapier@gentoo.org> Message-ID: <4AFAE0C4.50809@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. > -mike -- Sincerely yours, Mike.