aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-05-12 13:18:53 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-05-12 13:18:53 +0000
commite93c68eedd37394e37f94f3eb68a24e5915abfcf (patch)
tree1a00c87b3f27eeb686f5a5c10aa3a2cd7d1dbf4b /target/linux/generic/files/drivers
parente9999a7168e73168ee5772c03d6da16cd677846b (diff)
downloadupstream-e93c68eedd37394e37f94f3eb68a24e5915abfcf.tar.gz
upstream-e93c68eedd37394e37f94f3eb68a24e5915abfcf.tar.bz2
upstream-e93c68eedd37394e37f94f3eb68a24e5915abfcf.zip
b53: Allow using all ports on BCM53012
This chipset has at least 8 usable ports, e.g. Netgear R8000 has ports 5, 7 and 8 connected to Ethernet interfaces: vlan1ports=0 1 2 3 5 7 8* vlan2ports=4 8u Port 6 seems to be always disabled. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45676
Diffstat (limited to 'target/linux/generic/files/drivers')
-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 ac7c10cadc..2b05d5d464 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
@@ -1214,7 +1214,7 @@ static const struct b53_chip_data b53_switch_chips[] = {
.dev_name = "BCM53012",
.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,