aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-06-22 07:59:09 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-06-22 07:59:09 +0000
commitd2ddc2550ab4d974c194ee227608e479c9a98b0e (patch)
tree8d1e96a9890656ab0fd780baa58c6dee4321c706 /target
parent23703455ed6bd6168ab1b10e37fbb3f2ac859947 (diff)
downloadupstream-d2ddc2550ab4d974c194ee227608e479c9a98b0e.tar.gz
upstream-d2ddc2550ab4d974c194ee227608e479c9a98b0e.tar.bz2
upstream-d2ddc2550ab4d974c194ee227608e479c9a98b0e.zip
b53: Allow using all 8 ports on BCM53011
On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000 (BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port 5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and usually 3 of them are connected to the SoC. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46104 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46107 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/files/drivers/net/phy/b53/b53_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_common.c b/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
index 47b5a8b03f..859d8d1bdc 100644
--- a/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
+++ b/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
@@ -1201,7 +1201,7 @@ static const struct b53_chip_data b53_switch_chips[] = {
.dev_name = "BCM53011",
.alias = "bcm53011",
.vlans = 4096,
- .enabled_ports = 0x1f,
+ .enabled_ports = 0x1bf,
.cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */
.vta_regs = B53_VTA_REGS,
.duplex_reg = B53_DUPLEX_STAT_GE,