openwrt/target
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
..
imagebuilder images imagebuilder: Allow to add sanitized extra name 2016-01-03 14:44:56 +00:00
linux ramips: mt7620: fix failsafe switch config 2016-02-25 10:14:22 +00:00
sdk sdk: add base repository fallback 2016-01-12 09:25:45 +00:00
toolchain targets: Use configured distribution name for SDK, IB, and Toolchain tarball names 2016-01-03 14:44:42 +00:00
Config.in toolchain: add support of ARC architecture 2015-11-10 12:03:59 +00:00
Makefile