From ce3bf93548520b14adbb901d8f4acc04c2021629 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Tue, 18 Mar 2008 09:14:38 +0000 Subject: [PATCH] Revert r32706, unfortunately this wasn't the problem (according to reports from two users) svn path=/trunk/; revision=32715 --- reactos/drivers/input/i8042prt/pnp.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/reactos/drivers/input/i8042prt/pnp.c b/reactos/drivers/input/i8042prt/pnp.c index dfe9fa1cb6a..559f0be0b8f 100644 --- a/reactos/drivers/input/i8042prt/pnp.c +++ b/reactos/drivers/input/i8042prt/pnp.c @@ -156,14 +156,10 @@ i8042DetectKeyboard( WARN_(I8042PRT, "Warning: can't write SET_LEDS (0x%08lx)\n", Status); } - /* Turn on translation */ - if (!i8042ChangeMode(DeviceExtension, 0, CCB_TRANSLATE)) + /* Turn on translation and SF (Some machines don't reboot if SF is not set) */ + if (!i8042ChangeMode(DeviceExtension, 0, CCB_TRANSLATE | CCB_SYSTEM_FLAG)) return FALSE; - /* Turn on SF (Some machines don't reboot if SF is not set) ; - * we assume that if call fails, machine doesn't need it. */ - i8042ChangeMode(DeviceExtension, 0, CCB_SYSTEM_FLAG); - return TRUE; }