openwrt-owl/target/linux/ramips
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
..
base-files ramips: mt7620: fix failsafe switch config 2016-02-25 10:14:22 +00:00
dts ramips: fix WSR-1166 partition table 2016-02-22 08:54:32 +00:00
image ramips: build factory images for Netgear EX2700 2016-02-25 10:14:19 +00:00
mt7620 ramips: Add support for Phicomm PSG1208 2016-02-15 18:45:22 +00:00
mt7621 ramips: re-enable highmem support for MT7621 now that it's fixed 2016-01-24 00:16:32 +00:00
mt7628 ramips: fix kernel configuration for mt7628 2016-01-01 15:20:38 +00:00
mt7688 ralink: update config files to build the cleaned up ethernet driver 2015-12-17 09:26:20 +00:00
patches-4.3 ralink: fix mt7628 ehci support 2016-02-19 16:38:04 +00:00
rt288x ralink: update config files to build the cleaned up ethernet driver 2015-12-17 09:26:20 +00:00
rt305x ralink: update config files to build the cleaned up ethernet driver 2015-12-17 09:26:20 +00:00
rt3883 ralink: update config files to build the cleaned up ethernet driver 2015-12-17 09:26:20 +00:00
Makefile ramips: set mips16 support 2016-01-04 22:35:36 +00:00
modules.mk ramips: delete the broken sound driver 2016-01-18 13:40:15 +00:00