aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-08-01 14:30:40 +0000
committerJohn Crispin <blogic@openwrt.org>2013-08-01 14:30:40 +0000
commit3ffded1fa02bd292d09f889be8b4b367d64245e7 (patch)
tree542f1cab264f8d38e7684388e40afc3916bc1705 /target/linux/lantiq/base-files
parent701ba09e6ed279fefec9cc2ce8876991f3e9ccf0 (diff)
downloadmaster-187ad058-3ffded1fa02bd292d09f889be8b4b367d64245e7.tar.gz
master-187ad058-3ffded1fa02bd292d09f889be8b4b367d64245e7.tar.bz2
master-187ad058-3ffded1fa02bd292d09f889be8b4b367d64245e7.zip
lantiq: fix VG3503J ethernet/gphy led support
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/01_leds4
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/02_network3
2 files changed, 2 insertions, 5 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 0878de833a..e525ebdff2 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
@@ -21,10 +21,6 @@ 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"
;;
*)
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 9ae7c70cc6..1d3a1177b0 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -70,7 +70,8 @@ WBMR)
;;
VG3503J)
- ucidef_set_interface_lan 'eth0 eth1'
+ ucidef_set_interface_lan 'eth0'
+ uci set network.lan.type='none'
;;
DGN3500*)
ucidef_set_interface_lan "eth0.1"