pc, pc64: revert addition of pcireset() call to pcicfginit()

Revert the change, as it causes system lockups on bootup
on some systems with USB OHCI controllers, suspected to be
caused by BIOS/SMM accessing the device as BIOS handover
has not been executed yet.

We might bring that back when the problem has is better
understood.
This commit is contained in:
cinap_lenrek 2021-01-10 20:44:58 +01:00
parent 76ed42e31f
commit 069d27ba1d

View file

@ -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;