Author: luka Date: 2016-05-11 00:37:02 +0200 (Wed, 11 May 2016) New Revision: 49349
Modified: trunk/target/linux/ramips/base-files/etc/board.d/02_network Log: 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 <[email protected]> Modified: trunk/target/linux/ramips/base-files/etc/board.d/02_network =================================================================== --- trunk/target/linux/ramips/base-files/etc/board.d/02_network 2016-05-10 22:37:00 UTC (rev 49348) +++ trunk/target/linux/ramips/base-files/etc/board.d/02_network 2016-05-10 22:37:02 UTC (rev 49349) @@ -44,6 +44,7 @@ ht-tm02|\ linkits7688 | \ linkits7688d | \ + m2m|\ microwrt|\ ncs601w|\ w150m|\ @@ -50,7 +51,7 @@ wnce2001|\ zte-q7) ucidef_add_switch "switch0" - ucidef_add_switch_attr "switch0" "reset" "false" + ucidef_add_switch_attr "switch0" "enable" "false" ucidef_set_interface_lan "eth0" ;; 3g-6200nl|\ @@ -181,11 +182,6 @@ ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0" ;; - m2m) - ucidef_add_switch "switch0" - ucidef_add_switch_attr "switch0" "reset" "false" - ucidef_set_interface_lan "eth0" - ;; mlwg2|\ wizard8800|\ wl-330n|\ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
