diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-01 16:54:51 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-01 16:54:51 +0000 |
commit | a5e3f9b1977f4bfe24df52c2522549f911642d27 (patch) | |
tree | 4915a59a39e11d33a16df3809457bb172ee3ece7 /target/linux/adm5120-2.6/files/include | |
parent | cb8ec9bac26e6c9f4aaa09a1fa5f25660e43a7ee (diff) |
[adm5120] add support for board specific vlan matrix, should fix #2132
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8309 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/include')
-rw-r--r-- | target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_board.h | 3 | ||||
-rw-r--r-- | target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_board.h b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_board.h index 80ace7865..7e95ecad4 100644 --- a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_board.h +++ b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_board.h @@ -37,7 +37,8 @@ struct adm5120_board { void (*board_setup)(void); void (*board_reset)(void); - unsigned int num_eth_ports; + unsigned int eth_num_ports; + unsigned char *eth_vlans; unsigned int num_devices; struct platform_device **devices; diff --git a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h index bf00e8bd2..9f939876d 100644 --- a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h +++ b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h @@ -56,6 +56,7 @@ extern unsigned long adm5120_memsize; */ extern unsigned int adm5120_eth_num_ports; extern unsigned char adm5120_eth_macs[6][6]; +extern unsigned char adm5120_eth_vlans[6]; extern void adm5120_soc_init(void) __init; extern void adm5120_mem_init(void) __init; |