ramips: various Netgear R6120 fixes
[openwrt/staging/wigyori.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index d84e738e89ad7c96f71b4e874b304ba550fcf1cb..fca3398f2d3e34f2c597db27469293480f222673 100755 (executable)
@@ -108,7 +108,6 @@ ramips_setup_interfaces()
        mtc,wr1201|\
        mzk-750dhp|\
        mzk-w300nh2|\
-       netgear,r6120|\
        nixcore-x1-8M|\
        nixcore-x1-16M|\
        oy-0001|\
@@ -341,6 +340,10 @@ ramips_setup_interfaces()
                        "0:lan" "1:lan" "2:lan" "3:lan" "6t@eth0"
                ucidef_set_interface_wan "usb0"
                ;;
+       netgear,r6120)
+               ucidef_add_switch "switch0" \
+                       "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan" "6@eth0"
+               ;;
        hc5761)
                ucidef_add_switch "switch0" \
                        "1:lan" "4:lan" "0:wan" "6@eth0"