projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm47xx: BCMA - Always map 4 bytes
[openwrt.git]
/
target
/
linux
/
brcm47xx
/
base-files
/
etc
/
init.d
/
netconfig
diff --git
a/target/linux/brcm47xx/base-files/etc/init.d/netconfig
b/target/linux/brcm47xx/base-files/etc/init.d/netconfig
index
d7839b6
..
fb41ddd
100755
(executable)
--- a/
target/linux/brcm47xx/base-files/etc/init.d/netconfig
+++ b/
target/linux/brcm47xx/base-files/etc/init.d/netconfig
@@
-104,8
+104,8
@@
start() {
}
if (model == "ASUS WL-330gE") {
c["wan_ifname"] = ""
}
if (model == "ASUS WL-330gE") {
c["wan_ifname"] = ""
- c["lan_ifname"] = "eth0"
- c["vlan0ports"] = ""
+ c["lan_ifname"] = "eth0
.0
"
+ c["vlan0ports"] = "
4 5
"
c["vlan1ports"] = ""
}
if ((model == "ASUS WL-500g") || (model == "Microsoft MN-700")) {
c["vlan1ports"] = ""
}
if ((model == "ASUS WL-500g") || (model == "Microsoft MN-700")) {
@@
-189,8
+189,7
@@
start() {
c["vlan0ports"]="1 2 3 4 5"
c["vlan1ports"]="0 5"
}
c["vlan0ports"]="1 2 3 4 5"
c["vlan1ports"]="0 5"
}
-
- if (model == "Motorola WR850G V2/V3") {
+ if ((model == "Motorola WR850G V2/V3") || (model == "Siemens SE505 V2")) {
c["vlan0ports"]="0 1 2 3 5"
c["vlan1ports"]="4 5"
}
c["vlan0ports"]="0 1 2 3 5"
c["vlan1ports"]="4 5"
}
@@
-211,7
+210,7
@@
start() {
print "#### VLAN configuration "
print "config switch eth0"
print " option enable 1"
print "#### VLAN configuration "
print "config switch eth0"
print " option enable 1"
- print ""
+ print ""
vlan(0, "vlan0ports")
vlan(1, "vlan1ports")
}
vlan(0, "vlan0ports")
vlan(1, "vlan1ports")
}
This page took
0.023959 seconds
and
4
git commands to generate.