Author: cfinck
Date: Tue Feb 26 00:59:19 2008
New Revision: 32483
URL:
http://svn.reactos.org/svn/reactos?rev=32483&view=rev
Log:
Don't return if no keyboard or mouse is present. Instead continue detecting the
devices.
The returns were replaced by INFO's for debug output. Fireball or hpoussin, please
review if this fix is ok or if we need to add some more handling for these cases.
See issue #2790 for more details.
Modified:
trunk/reactos/drivers/input/i8042prt/pnp.c
Modified: trunk/reactos/drivers/input/i8042prt/pnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/pnp…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/pnp.c (original)
+++ trunk/reactos/drivers/input/i8042prt/pnp.c Tue Feb 26 00:59:19 2008
@@ -398,10 +398,12 @@
}
TRACE_(I8042PRT, "Detecting keyboard\n");
if (!i8042DetectKeyboard(DeviceExtension))
- return STATUS_UNSUCCESSFUL;
+ INFO_(I8042PRT, "No keyboard detected!\n");
+
TRACE_(I8042PRT, "Detecting mouse\n");
if (!i8042DetectMouse(DeviceExtension))
- return STATUS_UNSUCCESSFUL;
+ INFO_(I8042PRT, "No mouse detected!\n");
+
INFO_(I8042PRT, "Keyboard present: %s\n", DeviceExtension->Flags &
KEYBOARD_PRESENT ? "YES" : "NO");
INFO_(I8042PRT, "Mouse present : %s\n", DeviceExtension->Flags &
MOUSE_PRESENT ? "YES" : "NO");
}