openwrtv4/target/linux
John Crispin 074cc7ac38 ramips: mt7620: fix failsafe switch config
As indicated in the bug tracker[1], failsafe mode is broken on at least some
devices using the mt7620 switch (and possibly mt7621). The thread explicitly
mentions the Xiaomi MiWifi, and the Nexx WT3020, and an unspecified device
using the mt7621 switch; the issue also applies to the Netgear EX2700.

The problem is that failsafe mode uses eth0, but enable_vlan is always set to 1
by the switch driver. Connecting to and/or pinging the device fails. This patch
fixes the failsafe preinit config, by making sure that vlan support is disabled.
It currently only fixes the switch config on mt7620, but might apply to the
mt7621 as well, so the patch has been designed with this in mind.

A similar (line wrapped) patch was submitted in December by Simon Peter, but never
accepted and/or discussed.

This patch applies to both Chaos Calmer and trunk.

[1] https://dev.openwrt.org/ticket/18768

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>

SVN-Revision: 48772
2016-02-25 10:14:22 +00:00
..
adm5120 adm5120: disable the openwrt commandline hack 2015-08-30 12:17:54 +00:00
adm8668 base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
ar7 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ar71xx ar71xx: correct imagename for TPlink WA730RE 2016-02-25 10:14:13 +00:00
arc770 base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
archs38 archs38: remove network config override 2016-02-18 08:35:21 +00:00
arm64 kernel: disable bogus DEVTMPFS config overrides 2016-01-17 10:40:36 +00:00
at91 at91: udc driver was missing deps 2016-02-16 16:25:16 +00:00
ath25 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
au1000 image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
bcm53xx bcm53xx: add Netgear R8500 GPIOs 2016-02-05 12:33:50 +00:00
brcm47xx brcm47xx: add proper switch port mapping for WRT610Nv2 / Linksys E3000v1 2016-01-27 20:47:44 +00:00
brcm63xx base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
brcm2708 brcm2708: remove linux 4.1 support 2016-02-25 10:14:05 +00:00
cns3xxx cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performance 2016-01-31 12:35:33 +00:00
gemini kernel: refresh patches for 4.1 2015-07-22 12:51:11 +00:00
generic kernel: replace bgmac patches for BCM47094 with final ones 2016-02-24 22:43:43 +00:00
imx6 base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
ipq806x kernel: update kernel 3.18 to 3.18.26 2016-01-25 21:43:26 +00:00
ixp4xx ixp4xx: fix initramfs builds 2016-01-31 00:54:53 +00:00
kirkwood kirkwood: drop 4.3 support 2016-01-25 22:54:52 +00:00
lantiq use "-gt" instead of ">" with [ in /lib/functions/lantiq_dsl.sh 2016-02-12 08:29:44 +00:00
malta malta: move to 4.4 kernel 2016-01-28 22:42:49 +00:00
mcs814x all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
mediatek base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
mpc85xx mpc85xx: fix TL-WDR4900 mac address assignment to match original firmware 2016-02-07 14:18:36 +00:00
mvebu mvebu: add SolidRun ClearFog A1 support 2016-02-17 17:49:26 +00:00
mxs mxs: bump to 4.4 2016-01-30 12:13:21 +00:00
netlogic base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
octeon octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly 2016-01-29 23:19:41 +00:00
omap kernel: disable bogus DEVTMPFS config overrides 2016-01-17 10:40:36 +00:00
omap24xx omap24xx: Append dtb to the zImage 2015-10-09 07:46:12 +00:00
orion all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
oxnas base-files: remove default /etc/config/network, generate it via board.d instead 2016-01-25 16:30:41 +00:00
ppc40x ppc40x: upgrade to 3.18 2015-04-12 20:48:13 +00:00
ppc44x image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
ramips ramips: mt7620: fix failsafe switch config 2016-02-25 10:14:22 +00:00
rb532 rb532: switch to 4.1 2015-12-23 14:43:11 +00:00
realview all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
sunxi sunxi: add descriptor files for wifi+bt modules (AP6181/6210), add brcmfmac to bananapro profile 2016-02-24 23:31:48 +00:00
uml uml: update to linux 4.4 2016-01-17 10:41:52 +00:00
x86 x86: preserve partition table on sysupgrade 2016-02-09 12:33:17 +00:00
xburst kernel: update kernel 3.18 to version 3.18.23 2015-11-01 13:45:57 +00:00
zynq zynq: add new target 2016-02-12 08:29:24 +00:00
Makefile