From 1d96b0275cec6f6d4ff372c8409e47a22a526bc2 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 27 Aug 2012 14:55:32 +0000 Subject: [PATCH] ar71xx: detect ALL0315N board Signed-off-by: Daniel Golle SVN-Revision: 33282 --- 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" ;; -- 2.25.1