summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-08-01 14:30:40 +0000
committerJohn Crispin <john@openwrt.org>2013-08-01 14:30:40 +0000
commitb4c722267e206bd00856b98ce022ee64afa6568c (patch)
tree41a82a302bc7605a482d03910c2cb6a931983ad4 /target/linux/lantiq/base-files/etc/uci-defaults
parent046b282429d92d0acf3b420d0b0055be00316479 (diff)
downloadmtk-20170518-b4c722267e206bd00856b98ce022ee64afa6568c.zip
mtk-20170518-b4c722267e206bd00856b98ce022ee64afa6568c.tar.gz
mtk-20170518-b4c722267e206bd00856b98ce022ee64afa6568c.tar.bz2
lantiq: fix VG3503J ethernet/gphy led support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37634
Diffstat (limited to 'target/linux/lantiq/base-files/etc/uci-defaults')
-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 0878de8..e525ebd 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 9ae7c70..1d3a117 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"