projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ralink: Add support for samsung cy-swr1100 wireless router
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
uci-defaults
/
02_network
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 b66d176ec0f3c0b1d3c4ff57f5bce93db1275796..b9524f6d2c726bdb5721e91da566346c9e88a104 100755
(executable)
--- 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"
;;
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 | \
dir-610-a1 | \
dir-300-b7 | \
dir-320-b1 | \
@@
-205,6
+212,7
@@
ramips_setup_macs()
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
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)
dir-645)
lan_mac=$(mtd_get_mac_ascii nvram lanmac)
wan_mac=$(mtd_get_mac_ascii nvram wanmac)