1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 00:55:06 +00:00

Revert "Kernel/AHCI: Add a boot argument to force AHCI to operate on IRQ 11"

This reverts commit cfc2f33dcb.

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.
This commit is contained in:
Liav A 2021-03-22 21:01:48 +02:00 committed by Andreas Kling
parent 84e34d76d8
commit b25f84daaa
3 changed files with 0 additions and 13 deletions

View file

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