summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-27 14:55:32 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-27 14:55:32 +0000
commit9432be698b77238364cb2921c768ad54499e98c1 (patch)
treec78f2f85a279f59c47badb5df2e74bcaddb3db6a /target/linux
parent2065e21ba2d8f39dc1a3eb52394c12e6b5bff3ee (diff)
ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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"
;;