git: 9front

Download patch

ref: 914c0d9b85441647edd6842d7cda679d6d1bc083
parent: 8d8fded74a210fdcb6b2f35dd02baf96dc700fe0
parent: 7a24dd9579d1ded9e35d5c73e548296d5fa73079
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jan 10 15:46:07 EST 2021

merge

--- a/sys/src/9/pc/pcipc.c
+++ b/sys/src/9/pc/pcipc.c
@@ -716,7 +716,15 @@
 	if(pciroot == nil)
 		goto out;
 
-	pcireset();
+	/*
+	 * Disabling devices here (by clearing bus master enable)
+	 * causes problems with with some OHCI USB controllers.
+	 * I supected that this is due to legacy device emulation
+	 * and revoking bus master flag before executing the handoff
+	 * makes BIOS/SMM lock up the system.
+	 *
+	 * pcireset();
+	 */
 
 	if(nobios) {
 		uvlong mema;
--