ramips: move ESW reset to preinit on RT305x/RT5350
[openwrt.git] / target / linux / ramips / base-files / etc / uci-defaults / 02_network
index b3d87d2..747a83d 100755 (executable)
@@ -13,7 +13,6 @@ ramips_setup_rt3x5x_vlans()
        fi
        local wanports=""
        local lanports=""
-       swconfig dev rt305x set reset 1
        for port in 5 4 3 2 1 0; do
                if [ `swconfig dev rt305x port $port get disable` = "1" ]; then
                        continue
@@ -41,6 +40,7 @@ ramips_setup_interfaces()
        w150m | \
        all0256n | \
        all5002 | \
+       all5003 | \
        broadway | \
        wnce2001)
                ucidef_add_switch "switch0" "1" "0"
@@ -128,7 +128,6 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "2" "0t 5"
                ;;
 
-       freestation5 | \
        wcr-150gn)
                ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1"
                ;;
@@ -172,6 +171,7 @@ ramips_setup_macs()
        broadway | \
        dir-620-d1 | \
        f5d8235-v1 | \
+       mpr-a2 | \
        mzk-w300nh2 | \
        nw718 | \
        psr-680w | \
@@ -254,6 +254,7 @@ ramips_setup_macs()
 
        all0239-3g | \
        carambola | \
+       freestation5 | \
        w502u | \
        wnce2001)
                lan_mac=$(mtd_get_mac_binary factory 40)