summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-04-06 19:14:27 +0300
committerAndreas Kling <kling@serenityos.org>2021-04-06 22:25:28 +0200
commitfc92a4b2285cb0179badffe7bdf466d8f83a86ca (patch)
tree8053d19f3e4945a18856ac2ac3d77d2dd66b15dc /Kernel
parentda109eeab815261470bc1f2cc877dd1d0021b241 (diff)
downloadserenity-fc92a4b2285cb0179badffe7bdf466d8f83a86ca.zip
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.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
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")