diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-01 19:30:25 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-01 19:30:25 +0000 |
commit | 1e68f10b8748c9bf0d2e244597e2d0c70079ddeb (patch) | |
tree | 9279b6231136ca93f5d64b955cd11584ef8b94fa /target/linux/ar71xx/base-files/etc | |
parent | 0baa69dddabc768ec7053d0d920cf1e5adb8d22e (diff) | |
download | upstream-1e68f10b8748c9bf0d2e244597e2d0c70079ddeb.tar.gz upstream-1e68f10b8748c9bf0d2e244597e2d0c70079ddeb.tar.bz2 upstream-1e68f10b8748c9bf0d2e244597e2d0c70079ddeb.zip |
ar71xx: add support for the ALFA Network N2/N5 boards
SVN-Revision: 29635
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/leds | 5 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 6c40f62e83..feed265602 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -30,6 +30,9 @@ status_led_off() { get_status_led() { case $(ar71xx_board_name) in + alfa-nx) + status_led="alfa:green:led_8" + ;; ap81) status_led="ap81:green:status" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index 0fdab7b2a4..c637279fab 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -101,6 +101,11 @@ EOF board=$(ar71xx_board_name) case "$board" in +alfa-nx) + set_led_netdev "wan" "WAN" "alfa:green:led_2" "eth0" + set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1" + ;; + rb750) set_led_default "act" "act" "rb750:green:act" "1" set_led_netdev "port1" "port1" "rb750:green:port1" "eth1" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index 48139642e0..ba556c1075 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -114,6 +114,7 @@ wp543) ucidef_set_interface_lan "eth0" ;; +alfa-nx |\ ap83 |\ jwap003 |\ pb42 |\ |