mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 05:15:07 +00:00
Revert "Kernel: Add boot parameter to determine i8042 first port translation"
This reverts commit0379742d7e
. Commit61a385fc01
breaks the shift and caps lock key, but depends on this one.
This commit is contained in:
parent
73c8b4865e
commit
68b0826107
4 changed files with 1 additions and 17 deletions
|
@ -131,16 +131,6 @@ UNMAP_AFTER_INIT bool CommandLine::is_early_boot_console_disabled() const
|
|||
PANIC("Unknown early_boot_console setting: {}", value);
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT bool CommandLine::i8042_enable_first_port_translation() const
|
||||
{
|
||||
auto value = lookup("i8042_first_port_translation"sv).value_or("off"sv);
|
||||
if (value == "off"sv)
|
||||
return false;
|
||||
if (value == "on"sv)
|
||||
return true;
|
||||
PANIC("Unknown i8042_enable_first_port_translation setting: {}", value);
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT I8042PresenceMode CommandLine::i8042_presence_mode() const
|
||||
{
|
||||
auto value = lookup("i8042_presence_mode"sv).value_or("auto"sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue