lntiq: add support for Astoria ARV7519RW.
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / uci-defaults / 02_network
index 329fa2d72e5180be1ffea3ef544bd608e5e86c2a..5768336f2a384357f051778b1aa3b5afc24454ec 100644 (file)
@@ -113,12 +113,13 @@ H201L)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4t"
        ;;
 
+#rtl8306g
 P2601HNFX)
        ucidef_set_interface_lan "eth0.1"
        ucidef_add_switch "switch0" "1" "1"
-       ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
+       ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
-       
+
 P2812HNUFX)
        ucidef_set_interface_lan 'eth0.1'
        ucidef_add_switch "switch0" "1" "1"
@@ -129,6 +130,11 @@ TDW8970)
        lan_mac=$(mtd_get_mac_binary boardconfig 61696)
        wan_mac=$(macaddr_add "$lan_mac" 1)
        ;;
+
+ARV7519*)
+       lan_mac=$(mtd_get_mac_binary boardconfig 22)
+       wan_mac=$(macaddr_add "$lan_mac" 1)
+       ;;
 esac
 
 [ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"