summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files/etc
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-22 18:50:51 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-22 18:50:51 +0000
commitbdfc7e8894fd283a26dc38f1d54e3f87aff2cc54 (patch)
tree635d17a1d40b27d6de8bf2dc1352fd55c0ce363d /target/linux/lantiq/base-files/etc
parent1e81be025ffbf6c3addc2e8d6097ba7b00b174a8 (diff)
lantiq:
* fixes ath5k eeprom handling * fixes sx76x * adds sx76x to userland api * minor style cleanups Signed-of-by: Andrej Vlašić <andrej.vlasic0@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29292 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/leds6
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/network7
2 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/leds b/target/linux/lantiq/base-files/etc/uci-defaults/leds
index 84eda33316..1de8c36024 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/leds
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/leds
@@ -92,8 +92,12 @@ ARV7525PW)
;;
GIGASX76X)
- set_led_netdev "wifi" "wifi" "soc:green:wifi" "ath0"
+ set_led_wlan "wifi" "wifi" "soc:green:wifi" "phy0radio"
+ set_led_netdev "online" "online" "soc:green:online" "nas0"
set_led_usbdev "usb" "USB" "soc:green:usb" "1-1"
+ set_led_default "phone1" "fxs1" "soc:green:phone1" "0"
+ set_led_default "phone2" "fxs2" "soc:green:phone2" "0"
+ set_led_default "line" "line" "soc:green:line" "0"
;;
esac
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/network b/target/linux/lantiq/base-files/etc/uci-defaults/network
index f9a723754d..3b7fe26621 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/network
@@ -115,6 +115,13 @@ dsl=$(lantiq_soc_has_adsl)
board=$(lantiq_board_name)
case "$board" in
+GIGASX76X)
+ set_interface_lan "eth0.1"
+ add_switch "eth0" "1" "1"
+ add_switch_vlan "eth0" "1" "1 2 3 4 5t"
+ set_atm_wan "1" "32" "llc" "bridged"
+ ;;
+
*)
# custom foo goes here
true