1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

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.
This commit is contained in:
Liav A 2021-04-06 19:14:27 +03:00 committed by Andreas Kling
parent da109eeab8
commit fc92a4b228

View file

@ -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")