pc, pc64: disable all pci devices in pcicfginit()

Make sure all pci busmaster activity is disabled,
including MSI/MSI-X interrupts. Drivers will later
reenable once taking control of a device.
front
cinap_lenrek 2020-11-21 16:10:56 +01:00
parent 1376d39ef1
commit c5d08a602c
1 changed files with 2 additions and 0 deletions

View File

@ -716,6 +716,8 @@ pcicfginit(void)
if(pciroot == nil)
goto out;
pcireset();
if(nobios) {
uvlong mema;
ulong ioa;