aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-12-24 10:58:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-12-24 10:58:09 +0000
commit37216e75b4ac3dc9b5ad2f22d602b4966656319a (patch)
tree21eb640da137d44e84e0d888b86f40b7679bddfc /target/linux/brcm-2.4/base-files/etc
parentb97c4008bd4abe67aa135349ce879147098346bd (diff)
downloadupstream-37216e75b4ac3dc9b5ad2f22d602b4966656319a.tar.gz
upstream-37216e75b4ac3dc9b5ad2f22d602b4966656319a.tar.bz2
upstream-37216e75b4ac3dc9b5ad2f22d602b4966656319a.zip
add WRT300N v1.1 support (patch from #6379)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18921 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/base-files/etc')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig6
1 files changed, 4 insertions, 2 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 638f664bef..d63f17b124 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
@@ -164,8 +164,10 @@ start() {
c["lan_ifname"] = "eth0"
c["wan_ifname"] = "eth1"
}
- if (nvram["boardtype"] == "0x478") {
- # generic broadcom 4785 processor with 5397 switch?
+ # generic broadcom 4705/4785 processor with 5397 switch?
+ # EXCEPT Linksys WRT300N V1.1
+ if ((nvram["boardtype"] == "0x478") && \
+ (model != "Linksys WRT300N V1.1")) {
c["vlan0ports"] = "1 2 3 4 8*"
c["vlan1ports"] = "0 8"
}