aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-27 14:55:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-27 14:55:32 +0000
commit1d96b0275cec6f6d4ff372c8409e47a22a526bc2 (patch)
tree41e27887589f9d6eaf0df572e33fe9d505ccd8cc /target/linux/ar71xx
parenteebdd633e462903ebd48e84b5bfe27942f106a20 (diff)
downloadupstream-1d96b0275cec6f6d4ff372c8409e47a22a526bc2.tar.gz
upstream-1d96b0275cec6f6d4ff372c8409e47a22a526bc2.tar.bz2
upstream-1d96b0275cec6f6d4ff372c8409e47a22a526bc2.zip
ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33282
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 440771641b..f251f4c1b9 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -15,6 +15,7 @@ ucidef_set_interface_loopback
board=$(ar71xx_board_name)
case "$board" in
+all0315n |\
all0258n |\
ja76pf2)
ucidef_set_interface_lan "eth0 eth1"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 7df2eec080..cc24864de5 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -162,6 +162,9 @@ ar71xx_board_detect() {
*ALL0305)
name="all0305"
;;
+ *ALL0315N)
+ name="all0315n"
+ ;;
*AP113)
name="ap113"
;;