[PATCH] blackfin arch PNAV and Bluetechnix CM-BF537 use the MAC address programmed by u-boot and Warn if no valid MAC address found

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
---
 arch/blackfin/mach-bf537/boards/eth_mac.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/blackfin/mach-bf537/boards/eth_mac.c b/arch/blackfin/mach-bf537/boards/eth_mac.c
index 81544a1..e129a08 100644
--- a/arch/blackfin/mach-bf537/boards/eth_mac.c
+++ b/arch/blackfin/mach-bf537/boards/eth_mac.c
@@ -21,9 +21,7 @@
 #include <asm/blackfin.h>
 
 #if	defined(CONFIG_GENERIC_BOARD) \
-	|| defined(CONFIG_BFIN537_STAMP) \
-	|| defined(CONFIG_BFIN537_BLUETECHNIX_CM) \
-	|| defined(CONFIG_PNAV10)
+	|| defined(CONFIG_BFIN537_STAMP)
 
 /*
  * Currently the MAC address is saved in Flash by U-Boot
@@ -45,6 +43,7 @@ void get_bf537_ether_addr(char *addr)
  */
 void get_bf537_ether_addr(char *addr)
 {
+	printk(KERN_WARNING "%s: No valid Ethernet MAC address found\n",__FILE__);
 }
 
 #endif
-- 
1.5.0.5

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] blackfin arch PNAV and Bluetechnix CM-BF537 use th ..., Wu, Bryan, (Thu Mar 29, 8:10 pm)