Re: [U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

2009-04-27 Thread Scott Wood
On Mon, Apr 27, 2009 at 11:56:17AM -0400, Mike Frysinger wrote: > On Monday 27 April 2009 10:44:16 Daniel Mack wrote: > > On Sun, Apr 26, 2009 at 11:14:06PM -0400, Mike Frysinger wrote: > > > usually what i suggest to people are things like: > > > - pass $(ethaddr) via kernel command line and pars

Re: [U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

2009-04-27 Thread Mike Frysinger
On Monday 27 April 2009 10:44:16 Daniel Mack wrote: > On Sun, Apr 26, 2009 at 11:14:06PM -0400, Mike Frysinger wrote: > > On Tuesday 21 April 2009 07:13:10 Daniel Mack wrote: > > > On Wed, Apr 08, 2009 at 11:57:37PM -0400, Mike Frysinger wrote: > > > > > Not if the MAC is stored in the volatile smc

Re: [U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

2009-04-27 Thread Daniel Mack
On Sun, Apr 26, 2009 at 11:14:06PM -0400, Mike Frysinger wrote: > On Tuesday 21 April 2009 07:13:10 Daniel Mack wrote: > > On Wed, Apr 08, 2009 at 11:57:37PM -0400, Mike Frysinger wrote: > > > > Not if the MAC is stored in the volatile smc911x registers. Issuing a > > > > soft reset flushes these v

Re: [U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

2009-04-26 Thread Mike Frysinger
On Tuesday 21 April 2009 07:13:10 Daniel Mack wrote: > On Wed, Apr 08, 2009 at 11:57:37PM -0400, Mike Frysinger wrote: > > > 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. >

Re: [U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

2009-04-21 Thread Daniel Mack
On Wed, Apr 08, 2009 at 11:57:37PM -0400, Mike Frysinger wrote: > > 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. > > then either your u-boot or your OS is misconfigured and yo

Re: [U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

2009-04-08 Thread Mike Frysinger
On Wednesday 08 April 2009 20:08:38 Daniel Mack wrote: > 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 setting

Re: [U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

2009-04-08 Thread Daniel Mack
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 pa

Re: [U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

2009-04-08 Thread Mike Frysinger
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 th

[U-Boot] [PATCH 3/3] smc911x: do net reset the chip if no EEPROM is connected

2009-04-08 Thread Daniel Mack
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. Signed-off-by: Daniel Mack Cc: Sascha Hauer --- drivers/net/smc911x.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/s