public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] ATSTK1002: Remove default ethernet addresses
@ 2007-10-29  7:45 Haavard Skinnemoen
       [not found] ` <00b901c81a15$ae74e170$01c4af0a@Glamdring>
  0 siblings, 1 reply; 13+ messages in thread
From: Haavard Skinnemoen @ 2007-10-29  7:45 UTC (permalink / raw)
  To: u-boot

Wolfgang is right: It's not a good idea to set up default initial
ethernet addresses for a board, even though they belong to the local
range.

This will change the failure mode from "IT manager screams at you for
using duplicate ethernet addresses" to a nice error message explaining
that the ethernet address hasn't been set properly.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
---
 include/configs/atstk1002.h |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/include/configs/atstk1002.h b/include/configs/atstk1002.h
index 1809fc5..b33e26f 100644
--- a/include/configs/atstk1002.h
+++ b/include/configs/atstk1002.h
@@ -114,15 +114,10 @@
 #define CONFIG_AUTOBOOT_STOP_STR	" "
 
 /*
- * These are "locally administered ethernet addresses" generated by
- * ./tools/gen_eth_addr
- *
- * After booting the board for the first time, new addresses should be
- * generated and assigned to the environment variables "ethaddr" and
- * "eth1addr".
+ * After booting the board for the first time, new ethernet addresses
+ * should be generated and assigned to the environment variables
+ * "ethaddr" and "eth1addr". This is normally done during production.
  */
-#define CONFIG_ETHADDR			6a:87:71:14:cd:cb
-#define CONFIG_ETH1ADDR			ca:f8:15:e6:3e:e6
 #define CONFIG_OVERWRITE_ETHADDR_ONCE	1
 #define CONFIG_NET_MULTI		1
 
-- 
1.5.3.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-10-30 20:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29  7:45 [U-Boot-Users] [PATCH] ATSTK1002: Remove default ethernet addresses Haavard Skinnemoen
     [not found] ` <00b901c81a15$ae74e170$01c4af0a@Glamdring>
2007-10-29 11:23   ` Haavard Skinnemoen
2007-10-29 11:45     ` Ulf Samuelsson
2007-10-29 11:58       ` Haavard Skinnemoen
2007-10-29 15:29         ` Ulf Samuelsson
2007-10-29 15:55           ` Haavard Skinnemoen
2007-10-30 12:53             ` Robin Cutshaw
2007-10-30 13:25               ` Haavard Skinnemoen
2007-10-30 16:37               ` Scott Wood
2007-10-30 19:13               ` Ulf Samuelsson
2007-10-30 20:57                 ` Haavard Skinnemoen
2007-10-30 20:18                   ` Ulf Samuelsson
2007-10-29 15:29         ` Ulf Samuelsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox