1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[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
This commit is contained in:
juhosg
2007-08-01 16:54:51 +00:00
parent cb8ec9bac2
commit a5e3f9b197
12 changed files with 123 additions and 53 deletions

View File

@@ -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,
};