ar71xx: detect ALL0315N board
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 27 Aug 2012 14:55:32 +0000 (14:55 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 27 Aug 2012 14:55:32 +0000 (14:55 +0000)
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/base-files/etc/uci-defaults/network
target/linux/ar71xx/base-files/lib/ar71xx.sh

index 4407716..f251f4c 100755 (executable)
@@ -15,6 +15,7 @@ ucidef_set_interface_loopback
 board=$(ar71xx_board_name)
 
 case "$board" in
+all0315n |\
 all0258n |\
 ja76pf2)
        ucidef_set_interface_lan "eth0 eth1"
index 7df2eec..cc24864 100755 (executable)
@@ -162,6 +162,9 @@ ar71xx_board_detect() {
        *ALL0305)
                name="all0305"
                ;;
+       *ALL0315N)
+               name="all0315n"
+               ;;
        *AP113)
                name="ap113"
                ;;