mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
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:
parent
d31f977a47
commit
3b1a6d89ac
1 changed files with 4 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue