mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
Kernel/Storage: Remove the None option from AHCI reset policy
This was proved to be a problematic option. I tested this option on bare metal AHCI controller, and if we didn't reset the controller, the firmware (SeaBIOS) could leave the controller state not clean, so an plugged device signature was in place although the specific port had no plugged device after rebooting. Therefore, we need to ensure we use the controller in a clean state always. In addition to that, the Complete option was renamed to Aggressive, as it represents better the consequences of choosing this option.
This commit is contained in:
parent
5c1073a62d
commit
d431e4cd01
Notes:
sideshowbarker
2024-07-18 17:13:37 +09:00
Author: https://github.com/supercomputer7
Commit: d431e4cd01
Pull-request: https://github.com/SerenityOS/serenity/pull/7539
4 changed files with 8 additions and 13 deletions
|
@ -38,8 +38,7 @@ enum class PCIAccessLevel {
|
|||
|
||||
enum class AHCIResetMode {
|
||||
ControllerOnly,
|
||||
Complete,
|
||||
None
|
||||
Aggressive,
|
||||
};
|
||||
|
||||
class CommandLine {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue