From b8e2e95b70dd175be2743d4d95eb85f04f6b3b97 Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 4 Jan 2012 21:13:54 +0000 Subject: ar71xx: add inital support for the ALFA Network AP96 board The microSD slot and the Real Time Clock is not working yet. The miniPCIe interface is not tested due to the lack of a suitable card. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/uci-defaults/network | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 5 ++++- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/base-files') diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index d51660368c..38c7214a07 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -111,6 +111,7 @@ wp543) ucidef_set_interface_lan "eth0" ;; +alfa-ap96 |\ alfa-nx |\ ap83 |\ jwap003 |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 218f934229..cc0b0b4d32 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -124,6 +124,9 @@ ar71xx_board_detect() { *"AirRouter") name="airrouter" ;; + *"ALFA Network AP96") + name="alfa-ap96" + ;; *"ALFA Network N2/N5") name="alfa-nx" ;; @@ -142,7 +145,7 @@ ar71xx_board_detect() { *AP83) name="ap83" ;; - *AP96) + *"Atheros AP96") name="ap96" ;; *AW-NR580) diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index c2bfa08dbb..14af3bfc36 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -77,6 +77,7 @@ platform_check_image() { platform_check_image_all0258n "$1" && return 0 return 1 ;; + alfa-ap96 | \ alfa-nx | \ ap121 | \ ap121-mini | \ -- cgit v1.2.3