X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/015aed13171ff6201459286e15fc5e0686a46907..f6e8fec1b4299d418b12953879ecb68f88b84894:/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 f39d5c763..30efdf553 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, };