ar71xx: add user space support for the Sitecom WLR-8100 wireless router
authorGabor Juhos <juhosg@openwrt.org>
Wed, 30 Oct 2013 06:50:55 +0000 (06:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 30 Oct 2013 06:50:55 +0000 (06:50 +0000)
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

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh

index 3962aa285461f8fe66fa5f40fd78070c250bcd3d..a4a8408960e9b07c0f603cfd4eb4e5b65fbcdc08 100755 (executable)
@@ -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
 }
 
index 3d6ab29ad9ff5f183b42f2534a15e7f0f48a6894..d953ed7cc863b16101412708444461b07e8661e2 100755 (executable)
@@ -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"
index 06786e770df4bfb6b5a6eb5967df00b290931228..633fae12fac53d55d53bd27e2d1c724d5773529a 100755 (executable)
@@ -573,6 +573,9 @@ ar71xx_board_detect() {
        "8devices Carambola2"*)
                name="carambola2"
                ;;
+       *"Sitecom WLR-8100")
+               name="wlr8100"
+               ;;
        esac
 
        case "$machine" in