ath79: fix boardname of GL.iNet GL-AR150
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / board.d / 02_network
index 1251048..906ccd7 100755 (executable)
@@ -77,6 +77,7 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
                ;;
+       elecom,wrc-1750ghbk2-i|\
        elecom,wrc-300ghbk2-i)
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan:4" "3:lan:3" "4:lan:2" "5:lan:1" "1:wan"
@@ -88,11 +89,15 @@ ath79_setup_interfaces()
        etactica,eg200)
                ucidef_set_interface_lan "eth0" "dhcp"
                ;;
-       glinet,ar150|\
        glinet,ar300m|\
+       glinet,gl-ar150|\
        glinet,gl-x750)
                ucidef_set_interfaces_lan_wan "eth1" "eth0"
                ;;
+       glinet,ar750s)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "2:lan:2" "3:lan:1" "1:wan"
+               ;;
        nec,wg800hp)
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan" "3:lan" "4:lan" "1:wan"
@@ -178,6 +183,7 @@ ath79_setup_interfaces()
                        "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
                ;;
        tplink,tl-wr740nd-v4|\
+       tplink,tl-wr841-v8|\
        tplink,tl-wr842n-v1|\
        tplink,tl-wr842n-v2)
                ucidef_set_interface_wan "eth0"
@@ -239,6 +245,7 @@ ath79_setup_macs()
                lan_mac=$(mtd_get_mac_ascii devdata "lanmac")
                wan_mac=$(mtd_get_mac_ascii devdata "wanmac")
                ;;
+       elecom,wrc-1750ghbk2-i|\
        elecom,wrc-300ghbk2-i)
                wan_mac=$(macaddr_add "$(mtd_get_mac_binary ART 4098)" -2)
                ;;