mirror of
https://github.com/reactos/reactos.git
synced 2024-07-29 07:39:10 +00:00
Flush buffers before sending a command to keyboard controller.
It should fix 'unresponsive keyboard' bug. svn path=/trunk/; revision=39491
This commit is contained in:
parent
c7c7ca269b
commit
3d465cce58
|
@ -80,6 +80,7 @@ i8042BasicDetect(
|
|||
UCHAR Value = 0;
|
||||
|
||||
/* Don't enable keyboard and mouse interrupts, disable keyboard/mouse */
|
||||
i8042Flush(DeviceExtension);
|
||||
if (!i8042ChangeMode(DeviceExtension, CCB_KBD_INT_ENAB | CCB_MOUSE_INT_ENAB, CCB_KBD_DISAB | CCB_MOUSE_DISAB))
|
||||
return STATUS_IO_DEVICE_ERROR;
|
||||
|
||||
|
|
Loading…
Reference in a new issue