mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:18:14 +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
|
@ -167,8 +167,7 @@ UNMAP_AFTER_INIT ErrorOr<void> HIDManagement::enumerate()
|
|||
// Note: If we happen to not have i8042 just return "gracefully" for now.
|
||||
if (!has_i8042_controller)
|
||||
return {};
|
||||
auto i8042_enable_first_port_translation = kernel_command_line().i8042_enable_first_port_translation() ? I8042Controller::EnableKeyboardFirstPortTranslation::Yes : I8042Controller::EnableKeyboardFirstPortTranslation::No;
|
||||
if (auto result_or_error = i8042_controller->detect_devices(i8042_enable_first_port_translation); result_or_error.is_error())
|
||||
if (auto result_or_error = i8042_controller->detect_devices(I8042Controller::EnableKeyboardFirstPortTranslation::No); result_or_error.is_error())
|
||||
return {};
|
||||
m_hid_serial_io_controllers.with([&](auto& list) {
|
||||
list.append(i8042_controller);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue