summaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-22 09:36:55 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-22 09:36:55 +0100
commit928856895921dd0542b74ce9a49b63bb2e770d72 (patch)
tree9b7d66d3cd1837b0fa2574c27fca4d6c19b3dd82 /dev
parent699746a397043ab82b4e83e2ac5bf3ddc0486964 (diff)
AHCI.cc: Improvements on the AHCI Device class.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev')
-rw-r--r--dev/Kernel/HALKit/AMD64/Storage/AHCI.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/Kernel/HALKit/AMD64/Storage/AHCI.cc b/dev/Kernel/HALKit/AMD64/Storage/AHCI.cc
index 8f8ca539..79b445ce 100644
--- a/dev/Kernel/HALKit/AMD64/Storage/AHCI.cc
+++ b/dev/Kernel/HALKit/AMD64/Storage/AHCI.cc
@@ -288,7 +288,7 @@ ErrorOr<AHCIDeviceInterface> sk_acquire_ahci_device(Int32 drv_index)
nullptr);
device.SetPi(kSATAPortsImplemented);
- device.SetIndex(MountpointInterface::kDriveIndexA);
+ device.SetIndex(drv_index);
return ErrorOr<AHCIDeviceInterface>(device);
}