mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05: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
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
Reference in a new issue