[FS#3381] Trunk don't initialize pci cards at mt7621

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


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3381 - Trunk don't initialize pci cards at mt7621
User who did this - Aleksey Tregubov (AelxG)

----------
Hi Martin!

Thanks a lot for idea! After applying this patch my board works very 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=3381#comment9319

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