2
0
forked from Ivasoft/openwrt

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
This commit is contained in:
John Crispin
2011-11-22 18:50:51 +00:00
parent aca5063d4e
commit 4982ca983c
9 changed files with 404 additions and 65 deletions

View File

@@ -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

View File

@@ -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