[FS#3591] mt7621 trunk initialize properly only one pcie wifi card

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat Jan 23 18:01:01 EST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3591 - mt7621 trunk initialize properly only one pcie wifi card
User who did this - Aleksey Tregubov (AelxG)

----------
Found some solution. After applying this patch trunk works fine:

--- pci-mt7621.c.org	2021-01-24 01:56:39.085392065 +0300
+++ pci-mt7621.c	2021-01-24 01:55:53.735426130 +0300
@@ -503,7 +503,12 @@
 
 	rt_sysc_m32(PERST_MODE_MASK, PERST_MODE_GPIO, MT7621_GPIO_MODE);
 
+    mdelay(250);
+
 	mt7621_pcie_reset_assert(pcie);
+
+    mdelay(250);
+
 	mt7621_pcie_reset_rc_deassert(pcie);
 
 	list_for_each_entry_safe(port, tmp, &pcie->ports, list) {
@@ -521,6 +526,8 @@
 		}
 	}
 
+    mdelay(250);
+
 	mt7621_pcie_reset_ep_deassert(pcie);
 
 	tmp = NULL;

----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3591#comment9318

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list