aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-07 12:51:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-07 12:51:39 +0000
commitae7e7239b864c00b1e6c8b7856f1770a56c38c29 (patch)
tree61acfa6b6bae8bc5e316eb9a5c97188cb59db4c2 /target/linux/ar71xx/base-files/etc/uci-defaults
parent46f6626052e9a4da474db530f41508ef41915767 (diff)
downloadupstream-ae7e7239b864c00b1e6c8b7856f1770a56c38c29.tar.gz
upstream-ae7e7239b864c00b1e6c8b7856f1770a56c38c29.tar.bz2
upstream-ae7e7239b864c00b1e6c8b7856f1770a56c38c29.zip
ar71xx: Add support for ZyXEL NBG6616.
Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> SVN-Revision: 47405
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/01_leds17
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/02_network1
2 files changed, 13 insertions, 5 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index abed456cd6..b269181472 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -306,12 +306,19 @@ nbg460n_550n_550nh)
ucidef_set_led_wlan "wlan" "WLAN" "nbg460n:green:wlan" "phy0tpt"
;;
+nbg6616)
+ ucidef_set_led_wlan "wlan" "WLAN" "nbg6616:green:wifi2g" "phy1tpt"
+ ucidef_set_led_wlan "wlan5" "WLAN5" "nbg6616:green:wifi5g" "phy0tpt"
+ ucidef_set_led_usbdev "usb1" "USB1" "nbg6616:green:usb1" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "nbg6616:green:usb2" "2-1"
+ ;;
+
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:usb1" "2-1"
- ucidef_set_led_usbdev "usb2" "USB2" "zyxel:white:usb2" "1-1"
+ ucidef_set_led_netdev "wan" "WAN" "nbg6716:white:internet" "eth1"
+ ucidef_set_led_wlan "wlan" "WLAN" "nbg6716:white:wifi2g" "phy1tpt"
+ ucidef_set_led_wlan "wlan5" "WLAN5" "nbg6716:white:wifi5g" "phy0tpt"
+ ucidef_set_led_usbdev "usb1" "USB1" "nbg6716:white:usb1" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "nbg6716:white:usb2" "2-1"
;;
om2p | \
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 f6ac89118f..5e93835502 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -134,6 +134,7 @@ nbg460n_550n_550nh)
ucidef_add_switch_vlan "switch0" "0" "0 1 2 3 5"
;;
+nbg6616 |\
nbg6716)
ucidef_set_interfaces_lan_wan "eth0.1" "eth1"
ucidef_add_switch "switch0" "1" "1"