summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/base-files
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-07-14 14:11:17 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-07-14 14:11:17 +0000
commitf8d55e7541ee61c8e4262e378335beb2eba8a88a (patch)
tree548803b3e402425ccf09e13bec58740873d81f11 /target/linux/brcm47xx/base-files
parent936683b2dea18c535cba1be3af207338c10dd658 (diff)
downloadmtk-20170518-f8d55e7541ee61c8e4262e378335beb2eba8a88a.zip
mtk-20170518-f8d55e7541ee61c8e4262e378335beb2eba8a88a.tar.gz
mtk-20170518-f8d55e7541ee61c8e4262e378335beb2eba8a88a.tar.bz2
brcm47xx: use b53 phy driver for the switch in kernel 3.10
This makes it possible to use swconfig to controll the switch. This was tested with devices using b43 and bgmac. This was not tested on devices using tg3. This does not support the adm switch used in some very old devices. SVN-Revision: 37304
Diffstat (limited to 'target/linux/brcm47xx/base-files')
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/init.d/netconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/init.d/netconfig b/target/linux/brcm47xx/base-files/etc/init.d/netconfig
index b4be21f..e420adb 100755
--- a/target/linux/brcm47xx/base-files/etc/init.d/netconfig
+++ b/target/linux/brcm47xx/base-files/etc/init.d/netconfig
@@ -140,7 +140,7 @@ start() {
if (model == "Dell TrueMobile 2300") {
c["lan_ifname"] = "eth0"
c["wan_ifname"] = "eth1"
- c["vlan1ports"] = "0 1 2 3 4 5u"
+ c["vlan1ports"] = "0 1 2 3 4 5"
c["vlan2ports"] = ""
}
if (nvram["boardtype"] == "bcm94710r4") {
@@ -159,7 +159,7 @@ start() {
c["vlan2ports"] = "0 5t"
} else {
# Generic BCM94704
- c["vlan1ports"] = "0 1 2 3 4 5u"
+ c["vlan1ports"] = "0 1 2 3 4 5"
c["vlan2ports"] = ""
c["lan_ifname"] = "eth0"
c["wan_ifname"] = "eth1"
@@ -173,7 +173,7 @@ start() {
}
# Buffalo WBR-B11 and Buffalo WBR-G54
if (nvram["boardtype"] == "bcm94710ap") {
- c["vlan1ports"] = "0 1 2 3 4 5u"
+ c["vlan1ports"] = "0 1 2 3 4 5"
c["vlan2ports"] = ""
c["lan_ifname"] = "eth0"
c["wan_ifname"] = "eth1"
@@ -210,7 +210,7 @@ start() {
if (model == "ASUS WL-500W") {
c["lan_ifname"] = "eth0"
c["wan_ifname"] = "eth1"
- c["vlan1ports"] = "0 1 2 3 4 5u"
+ c["vlan1ports"] = "0 1 2 3 4 5"
c["vlan2ports"] = ""
}
if (model == "OvisLink WL-1600GL") {