projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1bccabc
)
Small patch that adds an error message in case the keyboard selftest fails.
author
Philipp Degler
<pdegler@rumms.uni-mannheim.de>
Thu, 24 May 2007 13:55:45 +0000
(13:55 +0000)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 24 May 2007 13:55:45 +0000
(13:55 +0000)
Signed-off-by: Philipp Degler <pdegler@rumms.uni-mannheim.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2694
2b7e53f0
-3cfb-0310-b3e9-
8179ed1497e1
src/pc80/keyboard.c
patch
|
blob
|
history
diff --git
a/src/pc80/keyboard.c
b/src/pc80/keyboard.c
index ccec00488c1ccda1377bec86db54cc11094ce9af..c5e384800fedffdb24b0866f21455c45b706efe7 100644
(file)
--- a/
src/pc80/keyboard.c
+++ b/
src/pc80/keyboard.c
@@
-43,8
+43,10
@@
static void pc_keyboard_init(struct pc_keyboard *keyboard)
}
/* 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);