X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Fetc%2Fboard.d%2F02_network;h=d46266aa43e04466023e02986ed83c1ee457e3c7;hp=2f603af817d18a77ea625c4a312aa9361a19cea1;hb=3f7841a70a87b280103a2c51ac49fd1d90d42949;hpb=a5923cd54987a83d56da3c8723f9a1c090254b2f 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 2f603af817..d46266aa43 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -91,6 +91,7 @@ ar71xx_setup_interfaces() rb-912uag-5hpnd|\ rb-sxt2n|\ rb-sxt5n|\ + re450|\ rocket-m-xw|\ tl-mr10u|\ tl-mr11u|\ @@ -211,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" ;; @@ -236,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|\ @@ -265,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|\ @@ -299,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" ;; @@ -388,6 +396,11 @@ 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" \ @@ -454,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") ;;