diff options
author | John Crispin <john@openwrt.org> | 2011-11-22 18:50:51 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-11-22 18:50:51 +0000 |
commit | 4982ca983c94e1ed336e7b67ce5f1b5e3981b95a (patch) | |
tree | ce098ab94dd817eb2b0e3f4bc6dfb1982551462d /target/linux/lantiq/base-files/etc | |
parent | aca5063d4e4599d0ee657a6045284b80684f0c38 (diff) | |
download | mtk-20170518-4982ca983c94e1ed336e7b67ce5f1b5e3981b95a.zip mtk-20170518-4982ca983c94e1ed336e7b67ce5f1b5e3981b95a.tar.gz mtk-20170518-4982ca983c94e1ed336e7b67ce5f1b5e3981b95a.tar.bz2 |
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/etc')
-rwxr-xr-x | target/linux/lantiq/base-files/etc/uci-defaults/leds | 6 | ||||
-rwxr-xr-x | target/linux/lantiq/base-files/etc/uci-defaults/network | 7 |
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 84eda33..1de8c36 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 f9a7237..3b7fe26 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 |