ramips: add user-space support for the Planex MZK-W300NH2 Router

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34926
This commit is contained in:
Gabor Juhos
2012-12-29 17:50:38 +00:00
parent d6d06aceb0
commit 8b1ac2ae37
7 changed files with 20 additions and 0 deletions

View File

@@ -69,6 +69,9 @@ case $board in
mofi3500-3gn)
set_usb_led "mofi3500-3gn:green:usb"
;;
mzk-w300nh2)
set_wifi_led "mzkw300nh2:amber:wlan"
;;
nw718)
set_usb_led "nw718:amber:usb"
;;

View File

@@ -71,6 +71,13 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "0 6t"
;;
mzk-w300nh2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t"
ucidef_add_switch_vlan "switch0" "2" "4 6t"
;;
f5d8235-v1 | \
f5d8235-v2 | \
ur-336un)
@@ -145,6 +152,7 @@ ramips_setup_macs()
bc2 | \
broadway | \
f5d8235-v1 | \
mzk-w300nh2 | \
nw718 | \
psr-680w | \
rt-n15 | \