summaryrefslogtreecommitdiff
path: root/Kernel/CommandLine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/CommandLine.cpp')
-rw-r--r--Kernel/CommandLine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Kernel/CommandLine.cpp b/Kernel/CommandLine.cpp
index 5eed0bd8b0..890603d576 100644
--- a/Kernel/CommandLine.cpp
+++ b/Kernel/CommandLine.cpp
@@ -114,9 +114,7 @@ UNMAP_AFTER_INIT PCIAccessLevel CommandLine::pci_access_level() const
{
auto value = lookup("pci_ecam"sv).value_or("off"sv);
if (value == "on"sv)
- return PCIAccessLevel::MappingPerBus;
- if (value == "per-device"sv)
- return PCIAccessLevel::MappingPerDevice;
+ return PCIAccessLevel::MemoryAddressing;
if (value == "off"sv)
return PCIAccessLevel::IOAddressing;
PANIC("Unknown PCI ECAM setting: {}", value);