openwrtv4/target/linux
Gabor Juhos 04c6143ca9 ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.

Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.

Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.

Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.

I did some tests regarding maximum packet size and did not see any

difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 33321
2012-09-05 20:08:42 +00:00
..
adm5120 bump to 3.3.8 2012-06-05 06:57:51 +00:00
adm8668 bump to 3.3.8 2012-06-05 06:57:51 +00:00
amazon bump to 3.3.8 2012-06-05 06:57:51 +00:00
ar7 bump to 3.3.8 2012-06-05 06:57:51 +00:00
ar71xx ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x 2012-09-05 19:26:50 +00:00
at91 move i2c module to target modules.mk 2012-07-29 13:20:51 +00:00
atheros Add leds back after migration to sysfs 2012-07-26 17:06:55 +00:00
au1000 rename upgrade image to sysupgrade.bin for consistency 2012-07-17 16:47:57 +00:00
avr32 move mmc driver to target specific modules.mk 2012-07-25 15:50:26 +00:00
brcm47xx update profiles 2012-08-22 21:54:06 +00:00
brcm63xx leds: do not register device if no leds defined 2012-08-13 09:55:10 +00:00
brcm2708 tools/firmware-utils/ptgen option to use MB rounding 2012-08-22 09:22:38 +00:00
cns3xxx laguna: fix eeprom read buffer size during platform configuration 2012-07-25 08:01:38 +00:00
cns21xx bump to 3.3.8 2012-06-05 06:57:51 +00:00
cobalt make kmod-fb dependent on DISPLAY_SUPPORT and update targets accordingly 2012-07-25 19:36:19 +00:00
coldfire linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
ep93xx make sure target modules depend on the target 2012-07-26 17:03:02 +00:00
etrax linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
gemini gemini: fix bus ids for PHY devices (closes: #12082) 2012-08-27 18:09:57 +00:00
generic generic: add support for the EON EN25Q64 SPI flash chip 2012-08-26 09:27:56 +00:00
goldfish linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
imx21 linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
iop32x bump to 3.3.8 2012-06-05 06:57:51 +00:00
ixp4xx move ixp4xx-eth to target specific modules.mk 2012-07-25 15:50:23 +00:00
kirkwood Enable eSATA sheevaplug 2012-08-24 06:15:06 +00:00
lantiq pci gpio mapping 2012-08-08 12:14:43 +00:00
leon linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
malta bump to 3.3.8 2012-06-05 06:57:51 +00:00
mcs814x enable CFI command set 0002 FORCE_WORD_WRITE 2012-09-03 20:25:51 +00:00
mpc52xx bump to 3.3.8 2012-06-05 06:57:51 +00:00
mpc83xx bump to 3.3.8 2012-06-05 06:57:51 +00:00
mpc85xx bump to 3.3.8 2012-06-05 06:57:51 +00:00
octeon move i2c driver to target modules.mk 2012-07-25 15:50:13 +00:00
omap4 bump to 3.3.8 2012-06-05 06:57:51 +00:00
omap24xx resync config 2012-07-29 13:20:39 +00:00
omap35xx linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
orion generic: enhanced image Makefile 2012-08-13 14:46:47 +00:00
ppc40x move isp116x driver to target specific modules.mk 2012-07-25 15:50:45 +00:00
ppc44x bump to 3.3.8 2012-06-05 06:57:51 +00:00
ps3 linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
pxa bump to 3.3.8 2012-06-05 06:57:51 +00:00
pxcab linux: add broken flag to targets which are using 2.6.30 2012-04-21 15:18:54 +00:00
ramips ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable. 2012-09-05 20:08:42 +00:00
rb532 bump to 3.3.8 2012-06-05 06:57:51 +00:00
rdc remove broken flags 2012-06-16 16:45:28 +00:00
realview resync config 2012-07-27 15:35:15 +00:00
s3c24xx linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
sibyte bump to 3.3.8 2012-06-05 06:57:51 +00:00
sparc linux: add broken flag to targets which are using 2.6.36 2012-04-29 15:00:32 +00:00
ubicom32 linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
uml bump to 3.3.8 2012-06-05 06:57:51 +00:00
x86 add missing kvm_guest kernel options 2012-09-05 19:38:42 +00:00
xburst verified to work - remove broken flag 2012-06-20 19:04:35 +00:00
Makefile Add kernel_nconfig make target 2010-08-06 21:36:35 +00:00