aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-25 19:03:41 +0000
committerJohn Crispin <blogic@openwrt.org>2013-04-25 19:03:41 +0000
commit8d3add94db5c955f83a656389ea44b9db82fceb7 (patch)
tree7d3853eb14aad42091a72a45d754aa5b500e0ed4 /target/linux/lantiq/base-files
parentd23f17e56d532f4f86ba6132d48fea8c83c6d9a6 (diff)
downloadupstream-8d3add94db5c955f83a656389ea44b9db82fceb7.tar.gz
upstream-8d3add94db5c955f83a656389ea44b9db82fceb7.tar.bz2
upstream-8d3add94db5c955f83a656389ea44b9db82fceb7.zip
lantiq: make leds and network work on VG3503J
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36445 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/01_leds7
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/02_network3
2 files changed, 10 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 3f87fe0758..bdf1311705 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
@@ -19,6 +19,13 @@ done
board=$(lantiq_board_id)
case "$board" in
+VG3503J)
+ ucidef_set_led_netdev "lan1" "lan1" "bt:green:lan1" "eth0"
+ ucidef_set_led_netdev "lan2" "lan2" "bt:green:lan2" "eth1"
+ ucidef_set_led_netdev "port1" "port1" "bt:green:port1" "eth0"
+ ucidef_set_led_netdev "port2" "port2" "bt:green:port2" "eth1"
+ ucidef_set_led_netdev "vdsl" "vdsl" "bt:green:dsl" "ptm0"
+ ;;
*)
;;
esac
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 006f1bcc45..06390a73d9 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -69,6 +69,9 @@ WBMR)
ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4 5"
;;
+VG3503J)
+ ucidef_set_interface_lan 'eth0 eth1'
+ ;;
esac
[ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"