aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-11-22 18:50:51 +0000
committerJohn Crispin <john@openwrt.org>2011-11-22 18:50:51 +0000
commit4982ca983c94e1ed336e7b67ce5f1b5e3981b95a (patch)
treece098ab94dd817eb2b0e3f4bc6dfb1982551462d /target/linux/lantiq/base-files
parentaca5063d4e4599d0ee657a6045284b80684f0c38 (diff)
downloadupstream-4982ca983c94e1ed336e7b67ce5f1b5e3981b95a.tar.gz
upstream-4982ca983c94e1ed336e7b67ce5f1b5e3981b95a.tar.bz2
upstream-4982ca983c94e1ed336e7b67ce5f1b5e3981b95a.zip
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> SVN-Revision: 29292
Diffstat (limited to 'target/linux/lantiq/base-files')
-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