linux/arch/blackfin
Danny Kukawka 0eceb82f55 arch/blackfin: don't generate random mac in bfin_get_ether_addr()
Changed bfin_get_ether_addr() to return a state and to
set no random mac address if the board don't provide one.

Let the caller of bfin_get_ether_addr() set a random mac
address if the return value is not 0.

v2: don't set random mac in bfin_get_ether_addr()

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
2012-03-21 11:00:08 +08:00
..
boot Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00
configs blackfin: update default defconfig 2012-03-21 11:00:08 +08:00
include Blackfin: wire up new process_vm syscalls 2012-03-21 11:00:08 +08:00
kernel blackfin: cplb-mpu: fix page mask table overflow 2012-03-21 11:00:06 +08:00
lib Blackfin: strncpy: fix handling of zero lengths 2011-06-03 11:05:36 -04:00
mach-bf518 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-03-21 11:00:08 +08:00
mach-bf527 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-03-21 11:00:08 +08:00
mach-bf533 blackfin: i2c-lcd: change default clock rate 2012-01-09 10:26:16 +08:00
mach-bf537 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-03-21 11:00:08 +08:00
mach-bf538 blackfin: config: update macro SPI_BFIN in board file 2012-01-09 10:26:15 +08:00
mach-bf548 bf548: add ppi interrupt mask and blanking clocks 2012-03-21 11:00:07 +08:00
mach-bf561 blackfin: bf561: forgot CSYNC in get_core_lock_noflush 2012-03-21 11:00:07 +08:00
mach-common Blackfin: wire up new process_vm syscalls 2012-03-21 11:00:08 +08:00
mm blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Blackfin: drop unused Kconfig symbol 2011-10-25 19:51:59 -04:00
Kconfig.debug Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin 2011-05-25 15:34:14 -07:00
Makefile Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00