diff options
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; } } |
