From 3ffded1fa02bd292d09f889be8b4b367d64245e7 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 1 Aug 2013 14:30:40 +0000 Subject: lantiq: fix VG3503J ethernet/gphy led support Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37634 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/base-files/etc/uci-defaults/01_leds | 4 ---- target/linux/lantiq/base-files/etc/uci-defaults/02_network | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'target/linux/lantiq/base-files') 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" -- cgit v1.2.3