aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-08-28 06:27:45 +0000
committerJohn Crispin <blogic@openwrt.org>2014-08-28 06:27:45 +0000
commit6df3c5e310b78ae5a0fc82c7087093113a26a3b8 (patch)
tree696edd0a762f919a92a24406a0315478c5dac064 /target/linux/ar71xx/base-files
parent147712018c6a59369cd98dbc5978397fdf0d2c53 (diff)
downloadmaster-187ad058-6df3c5e310b78ae5a0fc82c7087093113a26a3b8.tar.gz
master-187ad058-6df3c5e310b78ae5a0fc82c7087093113a26a3b8.tar.bz2
master-187ad058-6df3c5e310b78ae5a0fc82c7087093113a26a3b8.zip
ar71xx: add Support for RB2011UiAS-2HnD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42317 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network5
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
3 files changed, 8 insertions, 3 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 d104f40786..d3b766d4d8 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -82,7 +82,8 @@ rb-750)
rb-2011l|\
rb-2011uas|\
rb-2011uias|\
-rb-2011uas-2hnd)
+rb-2011uas-2hnd|\
+rb-2011uias-2hnd)
ucidef_set_led_switch "eth6" "ETH6" "rb:green:eth6" "switch1" "0x20"
ucidef_set_led_switch "eth7" "ETH7" "rb:green:eth7" "switch1" "0x10"
ucidef_set_led_switch "eth8" "ETH8" "rb:green:eth8" "switch1" "0x08"
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 3b4b330be4..c5cfd67430 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -66,7 +66,8 @@ db120 |\
rb-2011l | \
rb-2011uas |\
rb-2011uias |\
-rb-2011uas-2hnd)
+rb-2011uas-2hnd|\
+rb-2011uias-2hnd)
ucidef_set_interfaces_lan_wan "eth0.1 eth1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
@@ -75,7 +76,7 @@ rb-2011uas-2hnd)
ucidef_add_switch_vlan "switch1" "1" "0 1 2 3 4 5"
case "$board" in
- rb-2011uas* | rb-2011uias)
+ rb-2011uas* | rb-2011uias | rb-2011uias-2hnd)
ucidef_set_interface_raw "sfp" "eth0.3"
ucidef_add_switch_vlan "switch0" "3" "0t 6"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 80a607c2dd..1e96b6dd44 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -499,6 +499,9 @@ ar71xx_board_detect() {
*"RouterBOARD 2011UAS-2HnD")
name="rb-2011uas-2hnd"
;;
+ *"RouterBOARD 2011UiAS-2HnD")
+ name="rb-2011uias-2hnd"
+ ;;
*"RouterBOARD SXT Lite2")
name="rb-sxt2n"
;;