mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Kernel/AHCI: Don't check for PCC during initialization
On my machine, it only sets PRC and not PCC. Confirmed to happen on: - 8086:9ca2 (Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03))
This commit is contained in:
parent
84fc498b9f
commit
0f35dfc694
Notes:
sideshowbarker
2024-07-18 18:07:01 +09:00
Author: https://github.com/Lubrsi
Commit: 0f35dfc694
Pull-request: https://github.com/SerenityOS/serenity/pull/7113
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ void AHCIPort::handle_interrupt()
|
|||
if (m_interrupt_status.raw_value() == 0) {
|
||||
return;
|
||||
}
|
||||
if (m_interrupt_status.is_set(AHCI::PortInterruptFlag::PRC) && m_interrupt_status.is_set(AHCI::PortInterruptFlag::PC)) {
|
||||
if (m_interrupt_status.is_set(AHCI::PortInterruptFlag::PRC)) {
|
||||
clear_sata_error_register();
|
||||
m_wait_connect_for_completion = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue