From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Mack Date: Thu, 9 Apr 2009 02:08:38 +0200 Subject: [U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected In-Reply-To: <200904081800.40917.vapier@gentoo.org> References: <1239189819-26805-1-git-send-email-daniel@caiaq.de> <1239189819-26805-2-git-send-email-daniel@caiaq.de> <1239189819-26805-3-git-send-email-daniel@caiaq.de> <200904081800.40917.vapier@gentoo.org> Message-ID: <20090409000838.GA22458@buzzloop.caiaq.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 08, 2009 at 06:00:40PM -0400, Mike Frysinger wrote: > On Wednesday 08 April 2009 07:23:39 Daniel Mack wrote: > > On boards without EEPROMs, don't reset the chip on U-Boot's exit so that > > the MAC set by environment settings can be used by the OS later. > > that isnt how the MAC is passed to the OS ... this change is incorrect > > the OS must be able to get the MAC address regardless of the state of the > network controller Not if the MAC is stored in the volatile smc911x registers. Issuing a soft reset flushes these values - if U-Boot does that, the OS has no change getting them. That's what I saw here and it is also stated in the datasheet. Daniel