aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults/02_network
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-02 12:42:52 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-02 12:42:52 +0000
commit67a8c469a91b9e165b3a54703fdf2057836c8a69 (patch)
treede87edd05a2033035740bba13ec6318b061ade72 /target/linux/ramips/base-files/etc/uci-defaults/02_network
parent27f53b6560d97128bdc6c7d25c2a72d80565401b (diff)
downloadupstream-67a8c469a91b9e165b3a54703fdf2057836c8a69.tar.gz
upstream-67a8c469a91b9e165b3a54703fdf2057836c8a69.tar.bz2
upstream-67a8c469a91b9e165b3a54703fdf2057836c8a69.zip
ralink: Add support for samsung cy-swr1100 wireless router
It is base on rt3662 soc with dual band 802.11n wireless router. Use rtl8367R switch chip. This patch adds a profile for this board. It use seama image header. so i also enable it on kernel config. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40908 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/02_network')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index b66d176ec0..b9524f6d2c 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -78,6 +78,13 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"
;;
+ cy-swr1100)
+ 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 9t"
+ ucidef_add_switch_vlan "switch0" "2" "4 9t"
+ ;;
+
dir-610-a1 | \
dir-300-b7 | \
dir-320-b1 | \
@@ -205,6 +212,7 @@ ramips_setup_macs()
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
+ cy-swr1100 | \
dir-645)
lan_mac=$(mtd_get_mac_ascii nvram lanmac)
wan_mac=$(mtd_get_mac_ascii nvram wanmac)