Move a flush call few lines down.

svn path=/trunk/; revision=17071
This commit is contained in:
Filip Navara 2005-08-05 15:41:20 +00:00
parent 290d54b180
commit c988422fc4

View file

@ -517,11 +517,11 @@ static NTSTATUS STDCALL I8042BasicDetect(PDEVICE_EXTENSION DevExt)
DevExt->MouseExists = FALSE;
DevExt->KeyboardExists = FALSE;
I8042Flush();
if (!I8042Write(DevExt, I8042_DATA_PORT, 0x74))
return STATUS_TIMEOUT;
I8042Flush();
if (!I8042Write(DevExt, I8042_CTRL_PORT, KBD_SELF_TEST))
return STATUS_TIMEOUT;