aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-10-30 06:50:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-10-30 06:50:55 +0000
commitacd4ea62e746aee5b812415253f70cbface7402f (patch)
tree6e7ce50bf6041a55fee9bd562e3f8d09c9dc2ff6 /target
parent22b5040c64e1fa644aa11f4e50a5ece52532cfad (diff)
downloadupstream-acd4ea62e746aee5b812415253f70cbface7402f.tar.gz
upstream-acd4ea62e746aee5b812415253f70cbface7402f.tar.bz2
upstream-acd4ea62e746aee5b812415253f70cbface7402f.zip
ar71xx: add user space support for the Sitecom WLR-8100 wireless router
Patchwork: http://patchwork.openwrt.org/patch/4148/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38590
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
3 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 3962aa2854..a4a8408960 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -188,6 +188,9 @@ get_status_led() {
zcn-1523h-2 | zcn-1523h-5)
status_led="zcn-1523h:amber:init"
;;
+ wlr8100)
+ status_led="sitecom:amber:status"
+ ;;
esac
}
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 3d6ab29ad9..d953ed7cc8 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -29,7 +29,8 @@ ap132)
ucidef_add_switch_vlan "switch0" "2" "0t 1"
;;
-ap136-010)
+ap136-010 |\
+wlr8100)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 06786e770d..633fae12fa 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -573,6 +573,9 @@ ar71xx_board_detect() {
"8devices Carambola2"*)
name="carambola2"
;;
+ *"Sitecom WLR-8100")
+ name="wlr8100"
+ ;;
esac
case "$machine" in