ar71xx: add user space support for the Sitecom WLR-8100 wireless router
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 30 Oct 2013 06:50:55 +0000 (06:50 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38590 3c298f89-4303-0410-b956-a3cf2f4a3e73

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 3962aa2..a4a8408 100755 (executable)
@@ -188,6 +188,9 @@ get_status_led() {
        zcn-1523h-2 | zcn-1523h-5)
                status_led="zcn-1523h:amber:init"
                ;;
        zcn-1523h-2 | zcn-1523h-5)
                status_led="zcn-1523h:amber:init"
                ;;
+       wlr8100)
+               status_led="sitecom:amber:status"
+               ;;
        esac
 }
 
        esac
 }
 
index 3d6ab29..d953ed7 100755 (executable)
@@ -29,7 +29,8 @@ ap132)
        ucidef_add_switch_vlan "switch0" "2" "0t 1"
        ;;
 
        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"
        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 06786e7..633fae1 100755 (executable)
@@ -573,6 +573,9 @@ ar71xx_board_detect() {
        "8devices Carambola2"*)
                name="carambola2"
                ;;
        "8devices Carambola2"*)
                name="carambola2"
                ;;
+       *"Sitecom WLR-8100")
+               name="wlr8100"
+               ;;
        esac
 
        case "$machine" in
        esac
 
        case "$machine" in