[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1175224208.15391.53.camel@roc-desktop>
Date: Fri, 30 Mar 2007 11:10:07 +0800
From: "Wu, Bryan" <bryan.wu@...log.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH] blackfin arch PNAV and Bluetechnix CM-BF537 use the MAC
address programmed by u-boot and Warn if no valid MAC address found
Signed-off-by: Bryan Wu <bryan.wu@...log.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists