X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Fetc%2Fboard.d%2F02_network;h=6510b1ae904302d1ebd8f85a4a55cb50ca68b0da;hp=7857aca481b2732a09c3e52d2914d0d008b02d91;hb=d0bf15f235951973836da586c05693c0563ed4f2;hpb=0fc4383d6978ec3a5cd46a0bedf7ecbbb641c751 diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 7857aca481..6510b1ae90 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -37,6 +37,12 @@ ramips_setup_interfaces() ucidef_set_interface_loopback case $board in + a5-v11) + ucidef_set_interface_lan "eth0.1" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 6t" + ;; + 3g300m | \ w150m | \ all0256n | \ @@ -61,7 +67,6 @@ ramips_setup_interfaces() ucidef_set_interface_lan "eth0.1" ;; - 3g-6200n | \ b2c | \ nw718 | \ psr-680w | \ @@ -98,13 +103,21 @@ ramips_setup_interfaces() ucidef_add_switch_vlan "switch0" "2" "4 9t" ;; + ht-tm02) + ucidef_set_interface_lan "eth0.1" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "4 6t" + ;; + + 3g-6200n | \ dir-610-a1 | \ dir-300-b7 | \ dir-320-b1 | \ dir-615-h1 | \ hlk-rm04 | \ mzk-w300nh2 | \ - mzk-750dhp) + mzk-750dhp | \ + wt1520) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t" @@ -120,6 +133,7 @@ ramips_setup_interfaces() hg255d | \ rt-n14u | \ wrtnode | \ + wt3020 | \ ur-326n4g | \ zbt-wa05) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" @@ -244,6 +258,7 @@ ramips_setup_macs() lan_mac=$(macaddr_add "$lan_mac" -2) ;; + a5-v11 |\ bc2 |\ broadway |\ d105 |\ @@ -253,6 +268,7 @@ ramips_setup_macs() hlk-rm04 | \ mpr-a1 | \ mpr-a2 | \ + ht-tm02 | \ dir-300-b7 | \ dir-320-b1 | \ psr-680w |\