summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf537/boards/pnav10.c
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-11-22 11:07:03 +0300
committerBryan Wu <bryan.wu@analog.com>2007-11-22 11:07:03 +0300
commit137b1529da492baa654c702ecb60bb950eccb98d (patch)
treee51b79cb23e428eba0e3168b920ec623721886fa /arch/blackfin/mach-bf537/boards/pnav10.c
parentb33d51877726b066699b9ee40b5f512c77bdca38 (diff)
downloadlinux-137b1529da492baa654c702ecb60bb950eccb98d.tar.xz
Blackfin arch: sharing the board-specific MAC function does not make sense so move it into board-specific files
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/pnav10.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/pnav10.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c
index 3c72fc34f142..eea2afc72b57 100644
--- a/arch/blackfin/mach-bf537/boards/pnav10.c
+++ b/arch/blackfin/mach-bf537/boards/pnav10.c
@@ -510,3 +510,10 @@ static int __init stamp_init(void)
}
arch_initcall(stamp_init);
+
+void get_bf537_ether_addr(char *addr)
+{
+ random_ether_addr(addr);
+ printk(KERN_WARNING "%s:%s: Setting Ethernet MAC to a random one\n", __FILE__, __func__);
+}
+EXPORT_SYMBOL(get_bf537_ether_addr);