mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +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
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
|
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")
|
if (value == "on")
|
||||||
return PCIAccessLevel::MappingPerBus;
|
return PCIAccessLevel::MappingPerBus;
|
||||||
if (value == "per-device")
|
if (value == "per-device")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue