lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / uci-defaults / 02_network
index 1df83a6a9d8d425dae959518c4a99bc6885763e4..afb8714fe836dd6803c510003218061a9b970d57 100644 (file)
@@ -120,8 +120,6 @@ VG3503J)
        ;;
 
 DGN3500*)
-       lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
-       wan_mac=$(macaddr_add "$lan_mac" 1)
        ucidef_set_interface_lan "eth0.1"
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "3 2 1 0 5t"
@@ -145,7 +143,9 @@ P2601HNFX)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
-P2812HNUFX)
+P2812HNUF*)
+       lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
+       wan_mac=$(macaddr_add "$lan_mac" 1)
        ucidef_set_interface_lan 'eth0.1'
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 4 5 6t"
@@ -174,6 +174,14 @@ VGV7519)
        wan_mac=$(macaddr_add "$lan_mac" 1)
        ;;
 
+VGV7510KW22)
+       lan_mac=$(mtd_get_mac_binary board_config 22)
+       wan_mac=$(macaddr_add "$lan_mac" 1)
+       ucidef_set_interface_lan 'eth0.1'
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "2 3 4 5 6t"
+       ;;
+
 esac
 
 [ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"