aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-27 08:55:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-27 08:55:39 +0000
commit9287e0c863dfab8cf6a441c897c51286e2da9f74 (patch)
tree77e4af0edf168a86fb82d34c7dd9ef2a4e2c2456 /target/linux
parentd54c9653e9ecd22eadce7f66865e91a09ad634dc (diff)
downloadupstream-9287e0c863dfab8cf6a441c897c51286e2da9f74.tar.gz
upstream-9287e0c863dfab8cf6a441c897c51286e2da9f74.tar.bz2
upstream-9287e0c863dfab8cf6a441c897c51286e2da9f74.zip
ar71xx: add user-space part for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33957
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds6
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
4 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index c371a1f9dd..788b628a76 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -54,6 +54,9 @@ get_status_led() {
bullet-m | rocket-m | nano-m | nanostation-m)
status_led="ubnt:green:link4"
;;
+ cap4200ag)
+ status_led="senao:green:pwr"
+ ;;
db120)
status_led="db120: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 ca912c70cf..4137f98745 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -32,6 +32,12 @@ ap113)
ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1"
;;
+cap4200ag)
+ ucidef_set_led_default "lan_green" "LAN_GREEN" "senao:green:lan" "1"
+ ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "senao:amber:wlan" "phy0tpt"
+ ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "senao:green:wlan" "phy1tpt"
+ ;;
+
db120)
ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 4767fc3a25..105f0e93f9 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -142,6 +142,7 @@ wzr-hp-g300nh)
all0305 |\
aw-nr580 |\
bullet-m |\
+cap4200ag |\
eap7660d |\
rb-411 |\
tl-mr11u |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 14bd581d24..430ef8c68d 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -189,6 +189,9 @@ ar71xx_board_detect() {
*AW-NR580)
name="aw-nr580"
;;
+ *CAP4200AG)
+ name="cap4200ag"
+ ;;
*"DB120 reference board")
name="db120"
;;