ipq807x: Disable the TX MAC in PPE during init
Change-Id: Ia3b3918ad64c94cf72b0bf4932e40f33a2b17f1b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
diff --git a/drivers/net/ipq807x/ipq807x_ppe.c b/drivers/net/ipq807x/ipq807x_ppe.c
index 2df1956..34a4131 100644
--- a/drivers/net/ipq807x/ipq807x_ppe.c
+++ b/drivers/net/ipq807x/ipq807x_ppe.c
@@ -1264,8 +1264,10 @@
ipq807x_ppe_interface_mode_init();
/* Port 0-5 enable */
- for (i = 0; i < 6; i++)
+ for (i = 0; i < 6; i++) {
ipq807x_gmac_port_enable(i);
+ ppe_port_bridge_txmac_set(i + 1, 1);
+ }
/* Allowing DHCP packets */
ipq807x_ppe_acl_set(0, ADPT_ACL_HPPE_IPV4_DIP_RULE, UDP_PKT, 67, 0xffff, 0, 0);