Correct call to eth_write_hwaddr()
PATCH 1/1 Correct call to eth_write_hwaddr()
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
--- net/eth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/eth.c +1 -1
@@ -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++;
Signature · 1 line
1.7.3.1
PATCH 1/1 Correct call to eth_write_hwaddr()
Quoted 11 lines · Simon Glass
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:
7616e785Add Ethernet hardware MAC address framework to usbnetSigned-off-by Simon Glass <[email protected]>---
net/eth.c| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)
(for SoC based ethernet)
- k
PATCH 1/1 Correct call to eth_write_hwaddr()
Quoted 7 lines · Kumar Gala
Quoted 5 lines · Simon Glass
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:
Quoted 8 lines
Quoted 6 lines
7616e785Add Ethernet hardware MAC address framework to usbnetSigned-off-by Simon Glass <[email protected]>---
net/eth.c| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)Tested-by Kumar Gala <[email protected]>
I have made similar patch.
Thanks,
Michal
Signature · 4 lines
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
PATCH 1/1 Correct call to eth_write_hwaddr()
In reply to Simon GlassHello Simon,
Quoted 12 lines · Simon Glass
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:
7616e785Add Ethernet hardware MAC address framework to usbnetSigned-off-by Simon Glass <[email protected]>--- net/eth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Tested on a davinci am1808 based board, so
Thanks for fixing this!
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Wolfgang Denk
AppliedPATCH 1/1 Correct call to eth_write_hwaddr()
In reply to Simon GlassDear Simon Glass,
Quoted 11 lines · In message <[email protected]> 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:
7616e785Add Ethernet hardware MAC address framework to usbnetSigned-off-by Simon Glass <[email protected]>--- net/eth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
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.