* [U-Boot] [PATCH] Correct call to eth_write_hwaddr()
@ 2011-08-30 15:51 Simon Glass
2011-08-30 16:12 ` Kumar Gala
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Simon Glass @ 2011-08-30 15:51 UTC (permalink / raw)
To: u-boot
This fixes "Warning: failed to set MAC address" on platforms which rely on
an 'ethaddr' environment variable to set the MAC address.
This bug was introduced by this commit:
7616e785 Add Ethernet hardware MAC address framework to usbnet
Signed-off-by: Simon Glass <sjg@chromium.org>
---
net/eth.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/eth.c b/net/eth.c
index a34fe59..2caaf60 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -296,7 +296,7 @@ int eth_initialize(bd_t *bis)
if (strchr(dev->name, ' '))
puts("\nWarning: eth device name has a space!\n");
- if (eth_write_hwaddr(dev, NULL, eth_number))
+ if (eth_write_hwaddr(dev, "eth", eth_number))
puts("Warning: failed to set MAC address\n");
eth_number++;
--
1.7.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] Correct call to eth_write_hwaddr()
2011-08-30 15:51 [U-Boot] [PATCH] Correct call to eth_write_hwaddr() Simon Glass
@ 2011-08-30 16:12 ` Kumar Gala
2011-08-31 10:45 ` Michal Simek
2011-09-02 7:03 ` Heiko Schocher
2011-09-05 14:06 ` Wolfgang Denk
2 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2011-08-30 16:12 UTC (permalink / raw)
To: u-boot
On Aug 30, 2011, at 10:51 AM, Simon Glass wrote:
> This fixes "Warning: failed to set MAC address" on platforms which rely on
> an 'ethaddr' environment variable to set the MAC address.
>
> This bug was introduced by this commit:
>
> 7616e785 Add Ethernet hardware MAC address framework to usbnet
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
> net/eth.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Tested-by: Kumar Gala <galak@kernel.crashing.org>
(for SoC based ethernet)
- k
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] Correct call to eth_write_hwaddr()
2011-08-30 16:12 ` Kumar Gala
@ 2011-08-31 10:45 ` Michal Simek
0 siblings, 0 replies; 5+ messages in thread
From: Michal Simek @ 2011-08-31 10:45 UTC (permalink / raw)
To: u-boot
Kumar Gala wrote:
> On Aug 30, 2011, at 10:51 AM, Simon Glass wrote:
>
>> This fixes "Warning: failed to set MAC address" on platforms which rely on
>> an 'ethaddr' environment variable to set the MAC address.
>>
>> This bug was introduced by this commit:
>>
>> 7616e785 Add Ethernet hardware MAC address framework to usbnet
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>> ---
>> net/eth.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> Tested-by: Kumar Gala <galak@kernel.crashing.org>
I have made similar patch.
Tested-by: Michal Simek <monstr@monstr.eu>
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] Correct call to eth_write_hwaddr()
2011-08-30 15:51 [U-Boot] [PATCH] Correct call to eth_write_hwaddr() Simon Glass
2011-08-30 16:12 ` Kumar Gala
@ 2011-09-02 7:03 ` Heiko Schocher
2011-09-05 14:06 ` Wolfgang Denk
2 siblings, 0 replies; 5+ messages in thread
From: Heiko Schocher @ 2011-09-02 7:03 UTC (permalink / raw)
To: u-boot
Hello Simon,
Simon Glass wrote:
> This fixes "Warning: failed to set MAC address" on platforms which rely on
> an 'ethaddr' environment variable to set the MAC address.
>
> This bug was introduced by this commit:
>
> 7616e785 Add Ethernet hardware MAC address framework to usbnet
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
> net/eth.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
Tested on a davinci am1808 based board, so
Tested-by: Heiko Schocher <hs@denx.de>
Thanks for fixing this!
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] Correct call to eth_write_hwaddr()
2011-08-30 15:51 [U-Boot] [PATCH] Correct call to eth_write_hwaddr() Simon Glass
2011-08-30 16:12 ` Kumar Gala
2011-09-02 7:03 ` Heiko Schocher
@ 2011-09-05 14:06 ` Wolfgang Denk
2 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2011-09-05 14:06 UTC (permalink / raw)
To: u-boot
Dear Simon Glass,
In message <1314719460-27858-1-git-send-email-sjg@chromium.org> you wrote:
> This fixes "Warning: failed to set MAC address" on platforms which rely on
> an 'ethaddr' environment variable to set the MAC address.
>
> This bug was introduced by this commit:
>
> 7616e785 Add Ethernet hardware MAC address framework to usbnet
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
> net/eth.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Until you walk a mile in another man's moccasins, you can't imagine
the smell.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-09-05 14:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-30 15:51 [U-Boot] [PATCH] Correct call to eth_write_hwaddr() Simon Glass
2011-08-30 16:12 ` Kumar Gala
2011-08-31 10:45 ` Michal Simek
2011-09-02 7:03 ` Heiko Schocher
2011-09-05 14:06 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.