aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-16 18:00:34 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-16 18:00:34 +0000
commit60361511876af51d571d292f6afd59535693db9f (patch)
tree9ddd0f7c456771c96444f40ab3a05b59d4be821c /target/linux/ar71xx/base-files/etc
parenta68066239124879f0089da56c817254c8a354e24 (diff)
downloadupstream-60361511876af51d571d292f6afd59535693db9f.tar.gz
upstream-60361511876af51d571d292f6afd59535693db9f.tar.bz2
upstream-60361511876af51d571d292f6afd59535693db9f.zip
ar71xx: add support for the jjPlus JA76PF2 board
SVN-Revision: 30957
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network3
2 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 9552b8aa3f..cbe15c68cc 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -67,7 +67,8 @@ get_status_led() {
hornet-ub)
status_led="alfa:blue:wps"
;;
- ja76pf)
+ ja76pf | \
+ ja76pf2)
status_led="jjplus:green:led1"
;;
ls-sr71)
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 4dfb43c673..ce5bc5a64e 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -15,7 +15,8 @@ ucidef_set_interface_loopback
board=$(ar71xx_board_name)
case "$board" in
-all0258n)
+all0258n |\
+ja76pf2)
ucidef_set_interface_lan "eth0 eth1"
;;