diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-08-01 16:54:51 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-08-01 16:54:51 +0000 |
commit | c2ed86a8598462a4993631491b9e733b963ff98f (patch) | |
tree | 4dfcda9c4a75ebceaea730c1182c576b994573c3 /target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/edimax.c | |
parent | a3685c5251e40b654f57a02fdaacd081824e6843 (diff) | |
download | master-31e0f0ae-c2ed86a8598462a4993631491b9e733b963ff98f.tar.gz master-31e0f0ae-c2ed86a8598462a4993631491b9e733b963ff98f.tar.bz2 master-31e0f0ae-c2ed86a8598462a4993631491b9e733b963ff98f.zip |
add support for board specific vlan matrix, should fix #2132
SVN-Revision: 8309
Diffstat (limited to 'target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/edimax.c')
-rw-r--r-- | target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/edimax.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/edimax.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/edimax.c index f39d5c763d..30efdf553d 100644 --- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/edimax.c +++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/edimax.c @@ -61,11 +61,16 @@ static void __init br6104k_setup(void) { /* TODO: setup mac addresses, if possible */ } +unsigned char br6104k_vlans[6] = { + 0x41, 0x42, 0x44, 0x48, 0x50, 0x00 +}; + static struct adm5120_board br6104k_board __initdata = { .mach_type = MACH_ADM5120_BR6104K, .name = "Edimax BR-6104K", .board_setup = br6104k_setup, - .num_eth_ports = 5, + .eth_num_ports = 5, + .eth_vlans = br6104k_vlans, .num_devices = ARRAY_SIZE(br6104k_devices), .devices = br6104k_devices, }; |