aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files
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
commit46f75ee8698d09dcbb97447fcd2c6f5473c52331 (patch)
tree8d1273a05667132498330b6be81ff83dcf6da74a /target/linux/brcm-2.4/base-files
parent919724ab50586be54a1d903e47d772265e01bf38 (diff)
downloadupstream-46f75ee8698d09dcbb97447fcd2c6f5473c52331.tar.gz
upstream-46f75ee8698d09dcbb97447fcd2c6f5473c52331.tar.bz2
upstream-46f75ee8698d09dcbb97447fcd2c6f5473c52331.zip
add WRT300N v1.1 support (patch from #6379)
SVN-Revision: 18921
Diffstat (limited to 'target/linux/brcm-2.4/base-files')
-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"
}