X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Fetc%2Fboard.d%2F02_network;h=d46266aa43e04466023e02986ed83c1ee457e3c7;hb=ca2a03d1f6fc5288f1f1e9098c317ca9249e50b9;hp=1cb6b4c292285147ecc61ca7f9e0f4e3c98925da;hpb=e3875350f3e4185020b64e0588bba521cd1d6e64;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 1cb6b4c292..d46266aa43 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -66,11 +66,15 @@ ar71xx_setup_interfaces() bullet-m|\ c-55|\ cap4200ag|\ + cf-e380ac-v1|\ + cf-e380ac-v2|\ eap120|\ eap300v2|\ eap7660d|\ el-mini|\ loco-m-xw|\ + mr12|\ + mr16|\ mr1750|\ mr1750v2|\ mr18|\ @@ -87,6 +91,7 @@ ar71xx_setup_interfaces() rb-912uag-5hpnd|\ rb-sxt2n|\ rb-sxt5n|\ + re450|\ rocket-m-xw|\ tl-mr10u|\ tl-mr11u|\ @@ -115,7 +120,6 @@ ar71xx_setup_interfaces() ;; alfa-ap96|\ alfa-nx|\ - ap83|\ gl-ar150|\ gl-ar300m|\ gl-domino|\ @@ -143,8 +147,6 @@ ar71xx_setup_interfaces() ubnt-unifi-outdoor) ucidef_set_interface_lan "eth0 eth1" ;; - ap113|\ - pb92|\ wzr-hp-g300nh2) ucidef_add_switch "switch0" \ "0@eth0" "1:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "2:wan" @@ -162,6 +164,7 @@ ar71xx_setup_interfaces() ;; ap135-020|\ ap136-020|\ + bhr-4grv2|\ tew-823dru|\ tl-wr1043nd-v2|\ wzr-450hp2) @@ -209,7 +212,9 @@ ar71xx_setup_interfaces() ucidef_set_interface_lan "eth0" "dhcp" ;; cpe210|\ - cpe510) + cpe510|\ + wbs210|\ + wbs510) ucidef_add_switch "switch0" \ "0@eth0" "5:lan" "4:wan" ;; @@ -225,6 +230,7 @@ ar71xx_setup_interfaces() dir-835-a1|\ esr900|\ mynet-n750|\ + sr3200|\ wndr3700v4|\ wndr4300) ucidef_add_switch "switch0" \ @@ -233,6 +239,10 @@ ar71xx_setup_interfaces() dap-2695-a1) ucidef_add_switch "switch0" "0@eth0" "2:lan" "3:wan" "6@eth1" ;; + rb-941-2nd) + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:wan:1" + ;; db120|\ rb-2011l|\ rb-2011uas|\ @@ -262,7 +272,7 @@ ar71xx_setup_interfaces() tl-mr3420-v2|\ tl-wdr6500-v2|\ tl-wr841n-v8|\ - tl-wr842n-v2|\ + tl-wr940n-v4|\ tl-wr941nd-v5|\ tl-wr941nd-v6|\ wnr1000-v2|\ @@ -296,7 +306,8 @@ ar71xx_setup_interfaces() ;; dir-869-a1|\ epg5000|\ - esr1750) + esr1750|\ + tl-wr1043nd-v4) ucidef_add_switch "switch0" \ "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan" ;; @@ -340,9 +351,13 @@ ar71xx_setup_interfaces() rb-450) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" \ - "0:lan" "1:lan" "2:lan" "3:lan" "5@eth1" + "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5@eth1" + ;; + rb-450g) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ucidef_add_switch "switch0" \ + "0@eth1" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2" ;; - rb-450g|\ routerstation-pro) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" \ @@ -364,6 +379,10 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan" ;; + tl-wpa8630) + ucidef_add_switch "switch0" \ + "0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "5:lan:4" + ;; tl-wr1043nd) ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "5@eth0" @@ -377,12 +396,18 @@ ar71xx_setup_interfaces() ucidef_set_interface_raw "eth" "eth0" ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan" ;; + tl-wr842n-v2) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ucidef_add_switch "switch0" \ + "0@eth1" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3" + ;; uap-pro|\ wpj342) ucidef_add_switch "switch0" \ "0@eth0" "1:lan" "2:wan" ;; - unifiac-pro) + unifiac-pro|\ + xd3200) ucidef_add_switch "switch0" \ "0@eth0" "2:lan" "3:wan" ;; @@ -442,6 +467,9 @@ ar71xx_setup_macs() lan_mac=$(mtd_get_mac_binary caldata 0) wan_mac=$(mtd_get_mac_binary caldata 6) ;; + tl-wr1043nd-v4) + wan_mac=$(mtd_get_mac_binary config 0x1017c) + ;; esr900) wan_mac=$(mtd_get_mac_ascii u-boot-env "wanaddr") ;;