From c2ed86a8598462a4993631491b9e733b963ff98f Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 1 Aug 2007 16:54:51 +0000 Subject: add support for board specific vlan matrix, should fix #2132 SVN-Revision: 8309 --- target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/edimax.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/edimax.c') 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, }; -- cgit v1.2.3