--- trunk/reactos/drivers/input/i8042prt/i8042prt.c 2005-10-30 23:29:40 UTC (rev 18901)
+++ trunk/reactos/drivers/input/i8042prt/i8042prt.c 2005-10-30 23:48:30 UTC (rev 18902)
@@ -647,9 +647,15 @@
PDEVICE_EXTENSION DevExt;
PFDO_DEVICE_EXTENSION FdoDevExt;
PDEVICE_OBJECT Fdo;
+ static BOOLEAN AlreadyAdded = FALSE;
DPRINT("I8042AddDevice\n");
+ /* HACK! */
+ if (AlreadyAdded)
+ return STATUS_UNSUCCESSFUL;
+ AlreadyAdded = TRUE;
+
Status = IoCreateDevice(DriverObject,
sizeof(DEVICE_EXTENSION),
NULL,