From 9432be698b77238364cb2921c768ad54499e98c1 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 27 Aug 2012 14:55:32 +0000 Subject: ar71xx: detect ALL0315N board Signed-off-by: Daniel Golle git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/uci-defaults/network | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 2 files changed, 4 insertions(+) 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" ;; -- cgit v1.2.3