mirror of
https://github.com/reactos/reactos.git
synced 2024-09-17 16:20:20 +00:00
Move a flush call few lines down.
svn path=/trunk/; revision=17071
This commit is contained in:
parent
290d54b180
commit
c988422fc4
|
@ -517,11 +517,11 @@ static NTSTATUS STDCALL I8042BasicDetect(PDEVICE_EXTENSION DevExt)
|
||||||
DevExt->MouseExists = FALSE;
|
DevExt->MouseExists = FALSE;
|
||||||
DevExt->KeyboardExists = FALSE;
|
DevExt->KeyboardExists = FALSE;
|
||||||
|
|
||||||
I8042Flush();
|
|
||||||
|
|
||||||
if (!I8042Write(DevExt, I8042_DATA_PORT, 0x74))
|
if (!I8042Write(DevExt, I8042_DATA_PORT, 0x74))
|
||||||
return STATUS_TIMEOUT;
|
return STATUS_TIMEOUT;
|
||||||
|
|
||||||
|
I8042Flush();
|
||||||
|
|
||||||
if (!I8042Write(DevExt, I8042_CTRL_PORT, KBD_SELF_TEST))
|
if (!I8042Write(DevExt, I8042_CTRL_PORT, KBD_SELF_TEST))
|
||||||
return STATUS_TIMEOUT;
|
return STATUS_TIMEOUT;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue