From 3e358d18e26bf154b18412c8d09313da2604ae8b Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 22 Nov 2011 18:50:51 +0000 Subject: lantiq: * fixes ath5k eeprom handling * fixes sx76x * adds sx76x to userland api * minor style cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-of-by: Andrej Vlašić git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29292 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/base-files/etc/uci-defaults/leds | 6 +++++- target/linux/lantiq/base-files/etc/uci-defaults/network | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'target/linux/lantiq/base-files/etc') 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 -- cgit v1.2.3