Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40500
nbg460n_550n_550nh)
status_led="nbg460n:green:power"
;;
+ nbg6716)
+ status_led="nbg6716:white:power"
+ ;;
om2p | \
om2p-hs | \
om2p-lc)
ucidef_set_led_wlan "wlan" "WLAN" "nbg460n:green:wlan" "phy0tpt"
;;
+nbg6716)
+ ucidef_set_led_netdev "wan" "WAN" "zyxel:white:internet" "eth1"
+ ucidef_set_led_wlan "wlan" "WLAN" "zyxel:white:wifi2g" "phy1tpt"
+ ucidef_set_led_wlan "wlan5" "WLAN5" "zyxel:white:wifi5g" "phy0tpt"
+ ucidef_set_led_usbdev "usb1" "USB1" "zyxel:white:usb0" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "zyxel:white:usb1" "2-1"
+ ;;
+
om2p | \
om2p-hs | \
om2p-lc)
ucidef_add_switch_vlan "switch0" "0" "0 1 2 3 5"
;;
+nbg6716)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0t 1 2 3 4"
+ ucidef_add_switch_vlan "switch0" "2" "5 6"
+ ;;
+
rb-433 |\
rb-433u)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
*"NBG460N/550N/550NH")
name="nbg460n_550n_550nh"
;;
+ *"Zyxel NBG6716")
+ name="nbg6716"
+ ;;
*OM2P)
name="om2p"
;;