Author: uwe
Date: 2007-05-24 15:55:45 +0200 (Thu, 24 May 2007)
New Revision: 2694
Modified:
trunk/LinuxBIOSv2/src/pc80/keyboard.c
Log:
Small patch that adds an error message in case the keyboard selftest fails.
Signed-off-by: Philipp Degler <pdegler(a)rumms.uni-mannheim.de>
Acked-by: Uwe Hermann <uwe(a)hermann-uwe.de>
Modified: trunk/LinuxBIOSv2/src/pc80/keyboard.c
===================================================================
--- trunk/LinuxBIOSv2/src/pc80/keyboard.c 2007-05-24 09:26:39 UTC (rev 2693)
+++ trunk/LinuxBIOSv2/src/pc80/keyboard.c 2007-05-24 13:55:45 UTC (rev 2694)
@@ -43,8 +43,10 @@
}
/* read self-test result, 0x55 should be returned form 0x60 */
- if ((regval = inb(0x60) != 0x55))
+ if ((regval = inb(0x60) != 0x55)) {
+ printk_err("Keyboard selftest failed\n");
return;
+ }
/* enable keyboard interface */
outb(0x60, 0x64);