ramips: Fix network for routers without VLANs on eth0.
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 May 2016 22:37:02 +0000 (22:37 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 May 2016 22:37:02 +0000 (22:37 +0000)
commit425615e37d9140ae1528a89d3f63ded2015bb72a
tree917fb5aea6a6e92a6c358e1f3af59fc7b914ecf7
parentab994b2e7f37a3fc6c51099f4a64f8934a2db073
ramips: Fix network for routers without VLANs on eth0.

Some routers only have one port, so eth0 is used without VLANs for them.

Revision r47720 introduced some changes, but wrongly confused "enable" with "reset".

VLANs need to be disabled for those routers, and the switch may be reset.

Fix this, by explicitly disabling VLANs instead of resetting the switch for these routers.

Also merge duplicate configuration for the "m2m".

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49349 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/base-files/etc/board.d/02_network