summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-24 21:24:17 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-24 21:24:17 +0000
commitd1149d7ef13ba63baac89dfe687bdd01e93f79ca (patch)
tree541eeb2d768be0e616f2c9778687e24c99077b0b /src
parenta2e5f3713d2d23993fb754e49bda310ad5567ad6 (diff)
downloadcoreboot-d1149d7ef13ba63baac89dfe687bdd01e93f79ca.tar.xz
Some keyboards need a longer timeout. Also increase error level, because a
not-connected keyboard should normally not raise an error. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5285 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/pc80/keyboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pc80/keyboard.c b/src/pc80/keyboard.c
index 32e2576fac..dee6279842 100644
--- a/src/pc80/keyboard.c
+++ b/src/pc80/keyboard.c
@@ -60,8 +60,8 @@
#define KBD_REPLY_ACK 0xFA // Command ACK
#define KBD_REPLY_RESEND 0xFE // Command NACK, send command again
-/* Wait 200ms for keyboard controller answers */
-#define KBC_TIMEOUT_IN_MS 200
+/* Wait 400ms for keyboard controller answers */
+#define KBC_TIMEOUT_IN_MS 400
static int kbc_input_buffer_empty(void)
{
@@ -85,7 +85,7 @@ static int kbc_output_buffer_full(void)
}
if (!timeout) {
- printk(BIOS_WARNING, "Keyboard controller output buffer result timeout\n");
+ printk(BIOS_INFO, "Keyboard controller output buffer result timeout\n");
}
return !!timeout;
}