aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-09-16 08:31:40 +0000
committerJohn Crispin <blogic@openwrt.org>2015-09-16 08:31:40 +0000
commiteedc48444ef34b1a1a4c93a56a3f2609f5bb47cb (patch)
tree066231f934314f137a793d40766d0ba555677de3 /target/linux/ar71xx/base-files/etc/uci-defaults
parent917e16bbfb63cf1cbc1a055515c553dc3d32f4df (diff)
downloadmaster-187ad058-eedc48444ef34b1a1a4c93a56a3f2609f5bb47cb.tar.gz
master-187ad058-eedc48444ef34b1a1a4c93a56a3f2609f5bb47cb.tar.bz2
master-187ad058-eedc48444ef34b1a1a4c93a56a3f2609f5bb47cb.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46961 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |\