aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-09-16 08:31:40 +0000
committerJohn Crispin <john@openwrt.org>2015-09-16 08:31:40 +0000
commit1297679f4bbd47000d3ee36ed0f09efd7c581e76 (patch)
tree640c892d7b4930c7c8a836af2013810d521dd745 /target/linux/ar71xx/base-files/etc/uci-defaults
parent08e0621f4e59c5e7c2c381223d051cb0000b1707 (diff)
downloadupstream-1297679f4bbd47000d3ee36ed0f09efd7c581e76.tar.gz
upstream-1297679f4bbd47000d3ee36ed0f09efd7c581e76.tar.bz2
upstream-1297679f4bbd47000d3ee36ed0f09efd7c581e76.zip
ar71xx: Add UBNT airGateway Pro support
This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro. Signed-off-by: Matthew Reeve <mreeve at tenxnetworks.com> SVN-Revision: 46961
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/01_leds3
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/02_network7
2 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index 4793e34d2e..fac4751b70 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -9,7 +9,8 @@
board=$(ar71xx_board_name)
case "$board" in
-airgateway)
+airgateway | \
+airgatewaypro)
ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt"
;;
alfa-nx)
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 509f0f1de2..1f61972067 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -86,6 +86,13 @@ cpe510)
ucidef_add_switch_vlan "switch0" "2" "0t 4"
;;
+airgatewaypro)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0t 4"
+ ucidef_add_switch_vlan "switch0" "2" "0t 5"
+ ;;
+
db120 |\
rb-2011l | \
rb-2011uas |\