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

From: Wu, Bryan
Date: Thu Mar 29 2007 - 23:09:28 EST



Signed-off-by: Bryan Wu <bryan.wu@xxxxxxxxxx>
---
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/