diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-16 10:53:33 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-16 10:53:33 +0100 |
| commit | 93109ad26f17e9cc2a64f0a4f430b880bee14405 (patch) | |
| tree | 77950cc8700e5a4923f349a102f08c81c05a3633 /dev | |
| parent | 2a2bfff463c5dc437aef03463c1fe657c3400c99 (diff) | |
AHCI.cc: FIX: Avoid looking on DMA directly.
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc b/dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc index c9d2d9df..d6556165 100644 --- a/dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc +++ b/dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc @@ -242,6 +242,7 @@ STATIC Bool drv_std_init_ahci(UInt16& pi, BOOL atapi) UInt16 ahci_index = 0; kSATAPortsImplemented = ports_implemented; + pi = kSATAPortsImplemented; const UInt16 kMaxPortsImplemented = kSATAPortCnt; const UInt32 kSATASignature = kSATASig; @@ -300,8 +301,6 @@ STATIC Bool drv_std_init_ahci(UInt16& pi, BOOL atapi) ++ahci_index; } - pi = mem_ahci->Pi; - return YES; } } |
