aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-01-21 23:48:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-01-21 23:48:23 +0000
commit6392c009d25e512cbe633458f09d120fba713fda (patch)
tree6b0a2e550e8fe0e9731b54ca485fb6d54c731e46 /target
parent8cf8f93092c8a38212c4e496abf5dbf1072174af (diff)
downloadupstream-6392c009d25e512cbe633458f09d120fba713fda.tar.gz
upstream-6392c009d25e512cbe633458f09d120fba713fda.tar.bz2
upstream-6392c009d25e512cbe633458f09d120fba713fda.zip
[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 d63f17b124..d1e45e5bb8 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 "