diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-11-22 16:07:03 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-11-22 16:07:03 +0800 |
commit | 137b1529da492baa654c702ecb60bb950eccb98d (patch) | |
tree | e51b79cb23e428eba0e3168b920ec623721886fa /arch/blackfin/mach-bf537/boards/generic_board.c | |
parent | b33d51877726b066699b9ee40b5f512c77bdca38 (diff) | |
download | blackbird-obmc-linux-137b1529da492baa654c702ecb60bb950eccb98d.tar.gz blackbird-obmc-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/generic_board.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/generic_board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/generic_board.c b/arch/blackfin/mach-bf537/boards/generic_board.c index ed0d26aa31ff..d9e48ba23de1 100644 --- a/arch/blackfin/mach-bf537/boards/generic_board.c +++ b/arch/blackfin/mach-bf537/boards/generic_board.c @@ -732,3 +732,10 @@ void native_machine_restart(char *cmd) if ((bfin_read_SYSCR() & 0x7) == 0x3) bfin_gpio_reset_spi0_ssel1(); } + +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); |