diff options
author | Liav A <liavalb@gmail.com> | 2021-03-22 21:01:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-23 19:27:00 +0100 |
commit | b25f84daaa997a9147b8bccbcbf21006057478fc (patch) | |
tree | c6b274f3a4372b30efd0b524681d5bd95f39bf87 /Kernel/CommandLine.cpp | |
parent | 84e34d76d847d79e921c05576c1fedc774261306 (diff) | |
download | serenity-b25f84daaa997a9147b8bccbcbf21006057478fc.zip |
Revert "Kernel/AHCI: Add a boot argument to force AHCI to operate on IRQ 11"
This reverts commit cfc2f33dcba18e2afaeeba6c6158269cb9abea30.
We can't actually change the IRQ line value and expect the device
to work with it (this was my mistake).
That register is R/W so the firmware can figure out IRQ routing and put
the correct value and write it to the Interrupt line register.
Diffstat (limited to 'Kernel/CommandLine.cpp')
-rw-r--r-- | Kernel/CommandLine.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Kernel/CommandLine.cpp b/Kernel/CommandLine.cpp index f050efbe05..4294b97c9c 100644 --- a/Kernel/CommandLine.cpp +++ b/Kernel/CommandLine.cpp @@ -113,11 +113,6 @@ UNMAP_AFTER_INIT bool CommandLine::is_mmio_enabled() const return lookup("pci_mmio").value_or("off") == "on"; } -UNMAP_AFTER_INIT bool CommandLine::is_forcing_irq_11_for_ahci() const -{ - return lookup("force_ahci_irq_11").value_or("off") == "on"; -} - UNMAP_AFTER_INIT bool CommandLine::is_legacy_time_enabled() const { return lookup("time").value_or("modern") == "legacy"; |