https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0c7e9684bd25d5d54cee2…
commit 0c7e9684bd25d5d54cee2840f78bca60e46ede7d
Author: Alexandr A. Telyatnikov <alter(a)alter.org.ua>
AuthorDate: Sat Feb 2 01:18:15 2019 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sat Feb 2 15:47:39 2019 +0100
[UNIATA] Add AHCI revision 1.3.1
Also explicitly print current AHCI revision in debug log. CORE-15643
---
drivers/storage/ide/uniata/id_sata.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/storage/ide/uniata/id_sata.cpp
b/drivers/storage/ide/uniata/id_sata.cpp
index 6a16c16f09..25fa089ea8 100644
--- a/drivers/storage/ide/uniata/id_sata.cpp
+++ b/drivers/storage/ide/uniata/id_sata.cpp
@@ -869,11 +869,12 @@ UniAtaAhciValidateVersion(
case 0x00010100:
case 0x00010200:
case 0x00010300:
+ case 0x00010301:
break;
default:
KdPrint2((PRINT_PREFIX " Unknown AHCI revision\n"));
if(AtapiRegCheckDevValue(deviceExtension, CHAN_NOT_SPECIFIED,
DEVNUM_NOT_SPECIFIED, L"CheckAhciRevision", Strict)) {
- KdPrint((" AHCI revision excluded\n"));
+ KdPrint((" AHCI revision excluded %#x\n", version));
return FALSE;
}
}
@@ -966,7 +967,7 @@ UniataAhciDetect(
CAP = UniataAhciReadHostPort4(deviceExtension, IDX_AHCI_CAP);
CAP2 = UniataAhciReadHostPort4(deviceExtension, IDX_AHCI_CAP2);
- KdPrint2((PRINT_PREFIX " AHCI CAP %#x, CAP2 %#x\n", CAP, CAP2));
+ KdPrint2((PRINT_PREFIX " AHCI CAP %#x, CAP2 %#x, ver %#x\n", CAP, CAP2,
version));
if(CAP & AHCI_CAP_S64A) {
KdPrint2((PRINT_PREFIX " 64bit"));
//deviceExtension->Host64 = TRUE; // this is just DETECT, do not update
anything