mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[UNIATA] UniataChipDetect(): Workaround AHCI detection (#8184)
Fix AHCI support regression.
Disable a "new" code block, which is broken.
Reverts a part of commit 1afae58191
(r69699).
CORE-13346
This commit is contained in:
@@ -658,11 +658,18 @@ for_ugly_chips:
|
||||
}
|
||||
break;
|
||||
default:
|
||||
#ifdef __REACTOS__
|
||||
/* I assume:
|
||||
* - RangeStart == 0LL, "always". (CORE-13346)
|
||||
* - It will be updated by UniataAhciDetect() a few lines below...
|
||||
*/
|
||||
#else
|
||||
if(!ScsiPortConvertPhysicalAddressToUlong((*ConfigInfo->AccessRanges)[5].RangeStart)) {
|
||||
KdPrint2((PRINT_PREFIX "No BAR5, try BM\n"));
|
||||
ChipFlags &= ~UNIATA_AHCI;
|
||||
deviceExtension->HwFlags &= ~UNIATA_AHCI;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user