summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-21 23:48:23 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-21 23:48:23 +0000
commitc3794557a9a87c84faa6e18d6e596822be029b06 (patch)
tree6b0a2e550e8fe0e9731b54ca485fb6d54c731e46 /target
parent38d48b38aaa7dc5eb3c7a816876f38b7dab0d850 (diff)
[brcm-2.4] add support for OvisLink WL-1600GL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19262 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
index d63f17b12..d1e45e5bb 100755
--- a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
+++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
@@ -207,6 +207,12 @@ start() {
c["vlan0ports"] = "0 1 2 3 4 5u"
c["vlan1ports"] = ""
}
+ if (model == "OvisLink WL-1600GL") {
+ c["lan_ifname"] = "eth0.0"
+ c["wan_ifname"] = "eth0.1"
+ c["vlan0ports"] = "0 1 2 3 5*"
+ c["vlan1ports"] = "4 5"
+ }
if (c["vlan0ports"] || c["vlan1ports"]) {
print "#### VLAN configuration "