From fc92a4b2285cb0179badffe7bdf466d8f83a86ca Mon Sep 17 00:00:00 2001 From: Liav A Date: Tue, 6 Apr 2021 19:14:27 +0300 Subject: [PATCH] Kernel/PCI: Disable ECAM method by default Until I figure out what's going wrong with it on bare-metal, disable it unless explicitly enabled by the user. --- Kernel/CommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/CommandLine.cpp b/Kernel/CommandLine.cpp index d8e1d671f2..4f8c254a7f 100644 --- a/Kernel/CommandLine.cpp +++ b/Kernel/CommandLine.cpp @@ -110,7 +110,7 @@ UNMAP_AFTER_INIT bool CommandLine::is_vmmouse_enabled() const UNMAP_AFTER_INIT PCIAccessLevel CommandLine::pci_access_level() const { - auto value = lookup("pci_ecam").value_or("on"); + auto value = lookup("pci_ecam").value_or("off"); if (value == "on") return PCIAccessLevel::MappingPerBus; if (value == "per-device")