projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow the kernel to provide own series files for specific subdirs
[openwrt.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
arch
/
mips
/
adm5120
/
board.c
diff --git
a/target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c
b/target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c
index
17b88c0
..
74bacaa
100644
(file)
--- a/
target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c
+++ b/
target/linux/adm5120-2.6/files/arch/mips/adm5120/board.c
@@
-4,7
+4,7
@@
* ADM5120 generic board code
*
* Copyright (C) 2007 OpenWrt.org
* ADM5120 generic board code
*
* Copyright (C) 2007 OpenWrt.org
- * Copyright (C) 2007 Gabor Juhos <juhosg
@freemail.hu
>
+ * Copyright (C) 2007 Gabor Juhos <juhosg
at openwrt.org
>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@
-82,8
+82,13
@@
static int __init adm5120_board_setup(void)
memcpy(&adm5120_board_name, board->name, ADM5120_BOARD_NAMELEN);
adm5120_board_reset = board->board_reset;
memcpy(&adm5120_board_name, board->name, ADM5120_BOARD_NAMELEN);
adm5120_board_reset = board->board_reset;
- if (board->num_eth_ports > 0)
- adm5120_eth_num_ports = board->num_eth_ports;
+ if (board->eth_num_ports > 0)
+ adm5120_eth_num_ports = board->eth_num_ports;
+
+ if (board->eth_vlans)
+ memcpy(adm5120_eth_vlans, board->eth_vlans,
+ sizeof(adm5120_eth_vlans));
+
if (board->board_setup)
board->board_setup();
if (board->board_setup)
board->board_setup();
This page took
0.0222 seconds
and
4
git commands to generate.