From 6784ecd3422b64d04dcba393790d2e866ddc92e0 Mon Sep 17 00:00:00 2001 From: Dmitry Gorbachev Date: Mon, 16 Apr 2007 23:03:41 +0000 Subject: [PATCH] Detect i8042 IRQs by edge. This should fix endless loop in i8042 driver on machines with VIA and ALI chipsets. (See bug report #2159.) Thanks Peter K. and other testers for help. svn path=/trunk/; revision=26366 --- reactos/drivers/input/i8042prt/i8042prt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/input/i8042prt/i8042prt.c b/reactos/drivers/input/i8042prt/i8042prt.c index 26cbf8edc7d..2e610e2c87f 100644 --- a/reactos/drivers/input/i8042prt/i8042prt.c +++ b/reactos/drivers/input/i8042prt/i8042prt.c @@ -886,7 +886,7 @@ static NTSTATUS STDCALL I8042AddDevice(PDRIVER_OBJECT DriverObject, MappedIrqKeyboard, DirqlKeyboard, DirqlMax, - LevelSensitive, + Latched, FALSE, Affinity, FALSE); @@ -902,7 +902,7 @@ static NTSTATUS STDCALL I8042AddDevice(PDRIVER_OBJECT DriverObject, MappedIrqMouse, DirqlMouse, DirqlMax, - LevelSensitive, + Latched, FALSE, Affinity, FALSE);