aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-20 12:35:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-20 12:35:00 +0000
commit2fb06d46d9c5a8fc6158bf88f985743e60be3afb (patch)
treea219b0c6e587ba0b08a50cf43188eb3df401f888 /target/linux/brcm-2.4/base-files
parent297f2368ba6d2aa7da2fcff19eae0e211720878e (diff)
downloadupstream-2fb06d46d9c5a8fc6158bf88f985743e60be3afb.tar.gz
upstream-2fb06d46d9c5a8fc6158bf88f985743e60be3afb.tar.bz2
upstream-2fb06d46d9c5a8fc6158bf88f985743e60be3afb.zip
Add WL-700gE support (based on work by jr) Includes kernel/diag patch and a new target profile
SVN-Revision: 6142
Diffstat (limited to 'target/linux/brcm-2.4/base-files')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig11
1 files changed, 11 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 7e3ebcdbf1..4cc23d233b 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
@@ -101,6 +101,17 @@ start() {
c["wan_ifname"]=""
}
+ # ASUS WL-700gE
+ # These are actually same as defaults above. For some reason this script applies
+ # Generic BCM94704 settings instead so we revert to proper settings here.
+ # Hopefully someone will fix this properly soon.
+ if (model == "ASUS WL-700gE") {
+ c["lan_ifname"]="eth0.0"
+ c["wan_ifname"]="eth0.1"
+ c["vlan0ports"]="1 2 3 4 5*"
+ c["vlan1ports"]="0 5"
+ }
+
print "#### VLAN configuration "
print "config switch eth0"
p("vlan0", "vlan0ports")