diff options
author | John Crispin <john@openwrt.org> | 2015-06-05 14:11:36 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-06-05 14:11:36 +0000 |
commit | ca1db6b5ce5675d88b45b23f576e8c59f7f4fc48 (patch) | |
tree | b9356026924015d2fd8b29882ad7efd042fa98e5 /target/linux/lantiq/base-files/etc/uci-defaults | |
parent | 9e233fb241157ca30b1f5d462751490f34f0f435 (diff) | |
download | upstream-ca1db6b5ce5675d88b45b23f576e8c59f7f4fc48.tar.gz upstream-ca1db6b5ce5675d88b45b23f576e8c59f7f4fc48.tar.bz2 upstream-ca1db6b5ce5675d88b45b23f576e8c59f7f4fc48.zip |
lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)
SVN-Revision: 45897
Diffstat (limited to 'target/linux/lantiq/base-files/etc/uci-defaults')
-rw-r--r-- | target/linux/lantiq/base-files/etc/uci-defaults/01_leds | 7 | ||||
-rw-r--r-- | target/linux/lantiq/base-files/etc/uci-defaults/02_network | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds index 3502eb2b27..8041ac941f 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds +++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds @@ -30,6 +30,13 @@ BTHOMEHUBV3A) ucidef_set_led_wlan "wifi" "wifi" "soc:blue:wireless" "phy0tpt" ucidef_set_led_netdev "internet" "internet" "soc:blue:broadband" "pppoa-wan" ;; +VGV7510KW22) + ucidef_set_led_default "power" "power" "power" "1" + ucidef_set_led_default "power2" "power2" "power2" "0" + ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0radio" + ucidef_set_led_netdev "dsl" "dsl" "dsl" "nas0" + ucidef_set_led_netdev "internet_green" "internet_green" "internet_green" "pppoe-wan" + ;; VGV7519) ucidef_set_led_default "power" "power" "power" "0" ucidef_set_led_default "power2" "power2" "power2" "1" diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network index 5997bf5d5b..afb8714fe8 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -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" |