You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/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
8 years ago
..
adm5120 adm5120: disable the openwrt commandline hack 9 years ago
adm8668 base-files: remove default /etc/config/network, generate it via board.d instead 9 years ago
ar7 all: drop old uci-defaults.sh 9 years ago
ar71xx ar71xx: correct imagename for TPlink WA730RE 8 years ago
arc770 base-files: remove default /etc/config/network, generate it via board.d instead 9 years ago
archs38 archs38: remove network config override 9 years ago
arm64 kernel: disable bogus DEVTMPFS config overrides 9 years ago
at91 at91: udc driver was missing deps 9 years ago
ath25 all: drop old uci-defaults.sh 9 years ago
au1000 image: fix jffs2(_nand) image generation 9 years ago
bcm53xx bcm53xx: add Netgear R8500 GPIOs 9 years ago
brcm47xx brcm47xx: add proper switch port mapping for WRT610Nv2 / Linksys E3000v1 9 years ago
brcm63xx base-files: remove default /etc/config/network, generate it via board.d instead 9 years ago
brcm2708 brcm2708: remove linux 4.1 support 8 years ago
cns3xxx cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performance 9 years ago
gemini kernel: refresh patches for 4.1 9 years ago
generic kernel: replace bgmac patches for BCM47094 with final ones 8 years ago
imx6 base-files: remove default /etc/config/network, generate it via board.d instead 9 years ago
ipq806x kernel: update kernel 3.18 to 3.18.26 9 years ago
ixp4xx ixp4xx: fix initramfs builds 9 years ago
kirkwood kirkwood: drop 4.3 support 9 years ago
lantiq use "-gt" instead of ">" with [ in /lib/functions/lantiq_dsl.sh 9 years ago
malta malta: move to 4.4 kernel 9 years ago
mcs814x all: drop old uci-defaults.sh 9 years ago
mediatek base-files: remove default /etc/config/network, generate it via board.d instead 9 years ago
mpc85xx mpc85xx: fix TL-WDR4900 mac address assignment to match original firmware 9 years ago
mvebu mvebu: add SolidRun ClearFog A1 support 9 years ago
mxs mxs: bump to 4.4 9 years ago
netlogic base-files: remove default /etc/config/network, generate it via board.d instead 9 years ago
octeon octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly 9 years ago
omap kernel: disable bogus DEVTMPFS config overrides 9 years ago
omap24xx omap24xx: Append dtb to the zImage 9 years ago
orion all: drop old uci-defaults.sh 9 years ago
oxnas base-files: remove default /etc/config/network, generate it via board.d instead 9 years ago
ppc40x ppc40x: upgrade to 3.18 9 years ago
ppc44x image: fix jffs2(_nand) image generation 9 years ago
ramips ramips: mt7620: fix failsafe switch config 8 years ago
rb532 rb532: switch to 4.1 9 years ago
realview all: drop old uci-defaults.sh 9 years ago
sunxi sunxi: add descriptor files for wifi+bt modules (AP6181/6210), add brcmfmac to bananapro profile 8 years ago
uml uml: update to linux 4.4 9 years ago
x86 x86: preserve partition table on sysupgrade 9 years ago
xburst kernel: update kernel 3.18 to version 3.18.23 9 years ago
zynq zynq: add new target 9 years ago
Makefile Add kernel_nconfig make target 14 years ago