summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-04 21:13:54 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-04 21:13:54 +0000
commitb8e2e95b70dd175be2743d4d95eb85f04f6b3b97 (patch)
treeaf768a94ed18e2eefb806e8ac9134a4ed81bc9aa /target/linux/ar71xx/base-files
parent3d14a486be2901c17ae0250a081c4f9ab30feb0a (diff)
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
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh5
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
3 files changed, 6 insertions, 1 deletions
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 | \