mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +00:00
Don't fail if CCB_SYSTEM_FLAG can't be set
svn path=/trunk/; revision=32706
This commit is contained in:
parent
a2d5fcf09a
commit
1cdbc02cc8
1 changed files with 6 additions and 2 deletions
|
@ -156,10 +156,14 @@ i8042DetectKeyboard(
|
||||||
WARN_(I8042PRT, "Warning: can't write SET_LEDS (0x%08lx)\n", Status);
|
WARN_(I8042PRT, "Warning: can't write SET_LEDS (0x%08lx)\n", Status);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Turn on translation and SF (Some machines don't reboot if SF is not set) */
|
/* Turn on translation */
|
||||||
if (!i8042ChangeMode(DeviceExtension, 0, CCB_TRANSLATE | CCB_SYSTEM_FLAG))
|
if (!i8042ChangeMode(DeviceExtension, 0, CCB_TRANSLATE))
|
||||||
return FALSE;
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue