Skip to content

Commit 5e059e7

Browse files
Alter-1JoachimHenze
authored andcommitted
[0.4.11] [UNIATA] Add AHCI revision 1.3.1
Also explicitly print current AHCI revision in debug log. CORE-15643 Should make UniATA work with AHCI controllers of Intel Skylake-generation. cherry picked from commit 0.4.12-dev-592-g 0c7e968
1 parent b27a643 commit 5e059e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/storage/ide/uniata/id_sata.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,11 +869,12 @@ UniAtaAhciValidateVersion(
869869
case 0x00010100:
870870
case 0x00010200:
871871
case 0x00010300:
872+
case 0x00010301:
872873
break;
873874
default:
874875
KdPrint2((PRINT_PREFIX " Unknown AHCI revision\n"));
875876
if(AtapiRegCheckDevValue(deviceExtension, CHAN_NOT_SPECIFIED, DEVNUM_NOT_SPECIFIED, L"CheckAhciRevision", Strict)) {
876-
KdPrint((" AHCI revision excluded\n"));
877+
KdPrint((" AHCI revision excluded %#x\n", version));
877878
return FALSE;
878879
}
879880
}
@@ -966,7 +967,7 @@ UniataAhciDetect(
966967

967968
CAP = UniataAhciReadHostPort4(deviceExtension, IDX_AHCI_CAP);
968969
CAP2 = UniataAhciReadHostPort4(deviceExtension, IDX_AHCI_CAP2);
969-
KdPrint2((PRINT_PREFIX " AHCI CAP %#x, CAP2 %#x\n", CAP, CAP2));
970+
KdPrint2((PRINT_PREFIX " AHCI CAP %#x, CAP2 %#x, ver %#x\n", CAP, CAP2, version));
970971
if(CAP & AHCI_CAP_S64A) {
971972
KdPrint2((PRINT_PREFIX " 64bit"));
972973
//deviceExtension->Host64 = TRUE; // this is just DETECT, do not update anything

0 commit comments

Comments
 (0)