diff options
author | Luke <luke.wilde@live.co.uk> | 2021-05-15 18:20:49 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-15 19:45:44 +0200 |
commit | 174fdddc2b2302c00f7afd6cf9992dfe76552a75 (patch) | |
tree | 5f26847f7a532b87a7df04506c2f3ad95ac11e99 /Kernel/Storage/AHCIController.cpp | |
parent | 88a997871e9fbe6e358e0d0cb7e001cef388c32e (diff) | |
download | serenity-174fdddc2b2302c00f7afd6cf9992dfe76552a75.zip |
Kernel/AHCI: Get BOH and NVMP from extended capabilities
It was accidentally getting it from the regular capabilities.
Diffstat (limited to 'Kernel/Storage/AHCIController.cpp')
-rw-r--r-- | Kernel/Storage/AHCIController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Storage/AHCIController.cpp b/Kernel/Storage/AHCIController.cpp index 78a2aa3386..8142f3c257 100644 --- a/Kernel/Storage/AHCIController.cpp +++ b/Kernel/Storage/AHCIController.cpp @@ -116,8 +116,8 @@ AHCI::HBADefinedCapabilities AHCIController::capabilities() const (capabilities & (u32)(AHCI::HBACapabilities::SSNTF)) != 0, (capabilities & (u32)(AHCI::HBACapabilities::SNCQ)) != 0, (capabilities & (u32)(AHCI::HBACapabilities::S64A)) != 0, - (capabilities & (u32)(AHCI::HBACapabilitiesExtended::BOH)) != 0, - (capabilities & (u32)(AHCI::HBACapabilitiesExtended::NVMP)) != 0, + (extended_capabilities & (u32)(AHCI::HBACapabilitiesExtended::BOH)) != 0, + (extended_capabilities & (u32)(AHCI::HBACapabilitiesExtended::NVMP)) != 0, (extended_capabilities & (u32)(AHCI::HBACapabilitiesExtended::APST)) != 0, (extended_capabilities & (u32)(AHCI::HBACapabilitiesExtended::SDS)) != 0, (extended_capabilities & (u32)(AHCI::HBACapabilitiesExtended::SADM)) != 0, |