summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2021-01-10 20:46:07 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2021-01-10 20:46:07 +0100
commit10237a22f189d304668283fb82870b36144d4d1b (patch)
treedebab43ed4588b701c07fe740f3193ec659aea8d
parentc207b78d079803605d8aec2fe63a059fc4bdb2c6 (diff)
parent069d27ba1d95fa2cf08cf483f8e03cbff1bb59ae (diff)
downloadplan9front-10237a22f189d304668283fb82870b36144d4d1b.tar.xz
merge
-rw-r--r--sys/src/9/pc/pcipc.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/src/9/pc/pcipc.c b/sys/src/9/pc/pcipc.c
index 412862b32..3355e7b0c 100644
--- a/sys/src/9/pc/pcipc.c
+++ b/sys/src/9/pc/pcipc.c
@@ -716,7 +716,15 @@ pcicfginit(void)
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;