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.

svn path=/trunk/; revision=32483
This commit is contained in:
Colin Finck 2008-02-25 21:59:19 +00:00
parent d31f977a47
commit 3b1a6d89ac

View file

@ -398,10 +398,12 @@ StartProcedure(
}
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");
}