summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/boards/cm_bf537.c
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-11-22 16:07:03 +0800
committerBryan Wu <bryan.wu@analog.com>2007-11-22 16:07:03 +0800
commit137b1529da492baa654c702ecb60bb950eccb98d (patch)
treee51b79cb23e428eba0e3168b920ec623721886fa /arch/blackfin/mach-bf537/boards/cm_bf537.c
parentb33d51877726b066699b9ee40b5f512c77bdca38 (diff)
downloadblackbird-op-linux-137b1529da492baa654c702ecb60bb950eccb98d.tar.gz
blackbird-op-linux-137b1529da492baa654c702ecb60bb950eccb98d.zip
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/cm_bf537.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/cm_bf537.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537.c b/arch/blackfin/mach-bf537/boards/cm_bf537.c
index 18bda5412b50..97482d9b4177 100644
--- a/arch/blackfin/mach-bf537/boards/cm_bf537.c
+++ b/arch/blackfin/mach-bf537/boards/cm_bf537.c
@@ -427,3 +427,10 @@ static int __init cm_bf537_init(void)
}
arch_initcall(cm_bf537_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);
OpenPOWER on IntegriCloud