1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

add WRT300N v1.1 support (patch from #6379)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18921 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2009-12-24 10:58:09 +00:00
parent f3b0c7130c
commit 035f5fa612
4 changed files with 40 additions and 3 deletions

View File

@@ -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"
}