[LEDE-DEV] [PATCH] kernel: b53: enable port 5 on BCM53125
Rafał Miłecki
zajec5 at gmail.com
Tue Aug 16 07:47:58 PDT 2016
From: Rafał Miłecki <rafal at milecki.pl>
On all devices suppored so far BCM53125 got port 8 connected to the SoC
interface and ports 0-4 to physical ports. On BCM53573 there is slightly
more comlex setup. We have 2 SoC interfaces: one (eth0) connected to
port 8 and another (eth1) connected to port 5. This change allows using
port 5 to fully support such case. It also enables port 8 by default
which would be added during init anyway.
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
target/linux/generic/files/drivers/net/phy/b53/b53_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 d96d8b8..1a1be82 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
@@ -1206,7 +1206,7 @@ static const struct b53_chip_data b53_switch_chips[] = {
.dev_name = "BCM53125",
.alias = "bcm53125",
.vlans = 4096,
- .enabled_ports = 0x1f,
+ .enabled_ports = 0x13f,
.cpu_port = B53_CPU_PORT,
.vta_regs = B53_VTA_REGS,
.duplex_reg = B53_DUPLEX_STAT_GE,
--
1.8.4.5
More information about the Lede-dev
mailing list