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
This commit is contained in:
Hauke Mehrtens
2013-07-14 14:11:17 +00:00
parent 936683b2de
commit f8d55e7541
7 changed files with 554 additions and 6 deletions

View File

@@ -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") {