diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-22 19:39:38 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-22 19:39:38 +0000 |
commit | 092f3a374ae7f85e2f769ff0cdbf971bf07f1c5d (patch) | |
tree | 5b9b33729833f0a5a4ed5b245ea3aad6951d1ecc /target/linux/adm5120-2.6/files/arch/mips | |
parent | 77927a30adde8199545f804b167675685eeb5279 (diff) |
[adm5120] disable VLANs for RB1xx boards (#2132)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8463 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/arch/mips')
-rw-r--r-- | target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/mikrotik.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/mikrotik.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/mikrotik.c index ee08be72c..4d037587c 100644 --- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/mikrotik.c +++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/mikrotik.c @@ -64,6 +64,11 @@ static void __init rb1xx_setup(void) /* TODO: setup mac address */ } +#if 0 +/* + * RB1xx boards have bad network performance with the default VLAN matrixes. + * Disable it while the ethernet driver gets fixed. + */ static unsigned char rb11x_vlans[6] __initdata = { /* FIXME: untested */ 0x41, 0x00, 0x00, 0x00, 0x00, 0x00 @@ -83,6 +88,15 @@ static unsigned char rb15x_vlans[6] __initdata = { /* FIXME: untested */ 0x41, 0x42, 0x44, 0x48, 0x50, 0x00 }; +#else +static unsigned char rb_vlans[6] __initdata = { + 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00 +}; +#define rb11x_vlans rb_vlans +#define rb133_vlans rb_vlans +#define rb133c_vlans rb_vlans +#define rb15x_vlans rb_vlans +#endif static struct adm5120_board rb111_board __initdata = { .mach_type = MACH_ADM5120_RB_111, |