summaryrefslogtreecommitdiff
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
parenteebdd633e462903ebd48e84b5bfe27942f106a20 (diff)
downloadmtk-20170518-1d96b0275cec6f6d4ff372c8409e47a22a526bc2.zip
mtk-20170518-1d96b0275cec6f6d4ff372c8409e47a22a526bc2.tar.gz
mtk-20170518-1d96b0275cec6f6d4ff372c8409e47a22a526bc2.tar.bz2
ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33282
-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 4407716..f251f4c 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 7df2eec..cc24864 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"
;;