From b29a79828c98d1f9c0acf896926dcac059b75988 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Tue, 22 Feb 2022 11:00:05 +0100 Subject: [PATCH] Add Broadcom / Netgear changes from RAXE 1.0.1.52 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit U-Boot changes from RAXE500-V1.0.1.52_GPL.tar.gz Signed-off-by: Rafał Miłecki --- drivers/net/bcmbca/bcm_ethsw_impl1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/bcmbca/bcm_ethsw_impl1.c b/drivers/net/bcmbca/bcm_ethsw_impl1.c index 9254d43ed1..4a7951f6c2 100755 --- a/drivers/net/bcmbca/bcm_ethsw_impl1.c +++ b/drivers/net/bcmbca/bcm_ethsw_impl1.c @@ -165,7 +165,8 @@ static void bcm_ethsw_open(struct udevice *dev) /* Enable MAC port Tx/Rx for CFE local traffic */ printk ("Enable Switch MAC Port Rx/Tx, set PBVLAN to FAN out, set switch to NO-STP. offset_jump = %d\n", offset_jump); - for( i = 0; i < BP_MAX_SWITCH_PORTS; i++ ) + //for( i = 0; i < BP_MAX_SWITCH_PORTS; i++ ) + for( i = 0; i < 4; i++ ) /* Foxconn modified, not to enable WAN port at uboot. */ { /* Set Port VLAN to allow CPU traffic only */ ETHSW_CORE->port_vlan_ctrl[offset_jump*i] = PBMAP_MIPS; -- 2.30.2