mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +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:
parent
da109eeab8
commit
fc92a4b228
Notes:
sideshowbarker
2024-07-18 20:40:27 +09:00
Author: https://github.com/supercomputer7
Commit: fc92a4b228
Pull-request: https://github.com/SerenityOS/serenity/pull/6121
Reviewed-by: https://github.com/tomuta
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue