From 29c061e4990b824a68795b7b21d32121a8af73ab Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Thu, 12 Nov 2020 01:22:46 +0100 Subject: [PATCH] [UNIATA] DriverEntry(): Fix 'Paramaters' typo, in reg key names CORE-17524 --- drivers/storage/ide/uniata/id_ata.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/storage/ide/uniata/id_ata.cpp b/drivers/storage/ide/uniata/id_ata.cpp index 01f21741e96..141cd87f39c 100644 --- a/drivers/storage/ide/uniata/id_ata.cpp +++ b/drivers/storage/ide/uniata/id_ata.cpp @@ -10754,11 +10754,19 @@ DriverEntry( } if(WinVer_Id() >= WinVer_2k) { +#ifndef __REACTOS__ if(AtapiRegCheckParameterValue(NULL, L"Paramaters\\PnpInterface", L"1", 0)) { +#else + if(AtapiRegCheckParameterValue(NULL, L"Parameters\\PnpInterface", L"1", 0)) { +#endif KdPrint(("UniATA: Behave as WDM, mlia (1)\n")); WinVer_WDM_Model = TRUE; } +#ifndef __REACTOS__ if(AtapiRegCheckParameterValue(NULL, L"Paramaters\\PnpInterface", L"5", 0)) { +#else + if(AtapiRegCheckParameterValue(NULL, L"Parameters\\PnpInterface", L"5", 0)) { +#endif KdPrint(("UniATA: Behave as WDM, mlia (5)\n")); WinVer_WDM_Model = TRUE; }