Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2009-01-27 Thread Wolfgang Denk
Dear Daniel, In message <20090127130912.ga25...@buzzloop.caiaq.de> you wrote: > > > I can send a new version of this patch following this, but I wonder > > why such a logic has to be implemented in the ethernet drivers and did > > not find a well-defined place in some kind of layer all drivers ma

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2009-01-27 Thread Daniel Mack
Picking up an acient thread, On Sun, Dec 14, 2008 at 12:39:10PM +0100, Daniel Mack wrote: > On Sun, Dec 14, 2008 at 12:12:24PM +0100, Wolfgang Denk wrote: > > > This adds CONFIG_NE2000_NOPROM. If set, the ethernet MAC address is taken > > > from the environment variable 'ethaddr' and the NIC is co

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2008-12-14 Thread Daniel Mack
Hi Wolfgang, On Sun, Dec 14, 2008 at 12:12:24PM +0100, Wolfgang Denk wrote: > > This adds CONFIG_NE2000_NOPROM. If set, the ethernet MAC address is taken > > from the environment variable 'ethaddr' and the NIC is configured > > accordingly. Needed for boards that don't have an EEPROM to store this

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2008-12-14 Thread Wolfgang Denk
Dear Daniel Mack, In message <20081203010154.ge2...@buzzloop.caiaq.de> you wrote: > This adds CONFIG_NE2000_NOPROM. If set, the ethernet MAC address is taken > from the environment variable 'ethaddr' and the NIC is configured > accordingly. Needed for boards that don't have an EEPROM to store this

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2008-12-02 Thread Daniel Mack
This adds CONFIG_NE2000_NOPROM. If set, the ethernet MAC address is taken from the environment variable 'ethaddr' and the NIC is configured accordingly. Needed for boards that don't have an EEPROM to store this setting permanently. Signed-off-by: Daniel Mack <[EMAIL PROTECTED]> --- ne2000_base.c

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2008-11-29 Thread Daniel Mack
Hi Ben, On Fri, Nov 28, 2008 at 09:27:37PM -0800, Ben Warren wrote: > > the board I'm currently working on has an ASIX AX88796 NE2000 clone but > > no EEPROM attached to it. Hence, the get_prom() routine returns zeros > > only so the system won't work. > > > > This patch takes the MAC address give

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2008-11-28 Thread Ben Warren
Hi Daniel, On Fri, Nov 28, 2008 at 8:16 AM, Daniel Mack <[EMAIL PROTECTED]> wrote: > Hi, > > the board I'm currently working on has an ASIX AX88796 NE2000 clone but > no EEPROM attached to it. Hence, the get_prom() routine returns zeros > only so the system won't work. > > This patch takes the MA

[U-Boot] [PATCH] ne2000: take MAC address from config if available

2008-11-28 Thread Daniel Mack
Hi, the board I'm currently working on has an ASIX AX88796 NE2000 clone but no EEPROM attached to it. Hence, the get_prom() routine returns zeros only so the system won't work. This patch takes the MAC address given by CONFIG_ETHADDR and translates it to numeric values. This could probably go to