
Hi Mike,
On 01/16/2012 07:32 AM, Mike Frysinger wrote:
All arches init these variables the same way, so move the logic into the core net code to avoid duplicating it everywhere else.
Signed-off-by: Mike Frysingervapier@gentoo.org
arch/arm/lib/board.c | 11 ----------- arch/avr32/lib/board.c | 5 ----- arch/blackfin/lib/board.c | 9 +-------- arch/m68k/lib/board.c | 14 -------------- arch/microblaze/lib/board.c | 7 ------- arch/mips/lib/board.c | 11 ----------- arch/nds32/lib/board.c | 9 --------- arch/nios2/lib/board.c | 2 -- arch/powerpc/lib/board.c | 11 ----------- arch/sandbox/lib/board.c | 3 --- arch/sh/lib/board.c | 22 ++-------------------- arch/sparc/lib/board.c | 7 ------- arch/x86/lib/board.c | 12 ------------ net/eth.c | 12 ++++++++++++ 14 files changed, 15 insertions(+), 120 deletions(-)
Tested on nios2 boards.
Tested-by: Thomas Chou thomas@wytron.com.tw
Best regards, Thomas