Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-11-14 Thread Joe Hershberger
On Sat, Nov 12, 2016 at 9:28 AM, Marek Vasut wrote: > If mac-address is changed using "setenv ethaddr " command the new > mac-adress also must be written into the responsible ethernet driver. > This fixes the legacy ethernet handling. > > Signed-off-by: Marek Vasut > Cc: Hannes Schmelzer > C

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-11-12 Thread Hannes Schmelzer
On 11/12/2016 04:28 PM, Marek Vasut wrote: If mac-address is changed using "setenv ethaddr " command the new mac-adress also must be written into the responsible ethernet driver. This fixes the legacy ethernet handling. Signed-off-by: Marek Vasut Cc: Hannes Schmelzer Cc: Joe Hershberger C

[U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-11-12 Thread Marek Vasut
If mac-address is changed using "setenv ethaddr " command the new mac-adress also must be written into the responsible ethernet driver. This fixes the legacy ethernet handling. Signed-off-by: Marek Vasut Cc: Hannes Schmelzer Cc: Joe Hershberger Cc: Tom Rini --- net/eth_legacy.c | 1 + 1 f

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-06 Thread Bin Meng
Hi Hannes, On Tue, Sep 6, 2016 at 3:23 PM, Hannes Schmelzer wrote: > Bin Meng schrieb am 06.09.2016 09:07:39: > > [...] >> >> >> >> Why is this needed? The MAC address is supposed to be programmed in >> >> the driver's probe routine. >> > >> > For example on my custom ZYNQ board. >> > The Ethern

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-06 Thread Hannes Schmelzer
Bin Meng schrieb am 06.09.2016 09:07:39: [...] > >> > >> Why is this needed? The MAC address is supposed to be programmed in > >> the driver's probe routine. > > > > For example on my custom ZYNQ board. > > The Ethernetcontroller within the ZYNQ has no ROM to store his own > > MAC-Address, furthe

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-06 Thread Bin Meng
Hi Hannes, On Tue, Sep 6, 2016 at 12:33 PM, Hannes Schmelzer wrote: > "U-Boot" schrieb am 06.09.2016 03:54:52: > >> Von: Bin Meng >> An: Joe Hershberger , >> Kopie: u-boot , Hannes Schmelzer > , Joe >> Hershberger >> Datum: 06.09.2016 03:57 >

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-05 Thread Hannes Schmelzer
"U-Boot" schrieb am 06.09.2016 03:54:52: > Von: Bin Meng > An: Joe Hershberger , > Kopie: u-boot , Hannes Schmelzer , Joe > Hershberger > Datum: 06.09.2016 03:57 > Betreff: Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback > Gesendet

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-05 Thread Bin Meng
Hi, On Fri, Sep 2, 2016 at 9:00 PM, Joe Hershberger wrote: > On Fri, Sep 2, 2016 at 7:48 AM, Hannes Schmelzer wrote: >> If mac-address is changed using "setenv ethaddr " command the new >> mac-adress also must be written into the responsible ethernet driver. >> >> Signed-off-by: Hannes Schme

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-02 Thread Joe Hershberger
On Fri, Sep 2, 2016 at 7:48 AM, Hannes Schmelzer wrote: > If mac-address is changed using "setenv ethaddr " command the new > mac-adress also must be written into the responsible ethernet driver. > > Signed-off-by: Hannes Schmelzer Acked-by: Joe Hershberger _

[U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-09-02 Thread Hannes Schmelzer
If mac-address is changed using "setenv ethaddr " command the new mac-adress also must be written into the responsible ethernet driver. Signed-off-by: Hannes Schmelzer --- net/eth-uclass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/eth-uclass.c b/net/eth-uclass.c index c15cc4d