[coreboot] [commit] r5285 - trunk/src/pc80

repository service svn at coreboot.org
Wed Mar 24 22:24:17 CET 2010


Author: stepan
Date: Wed Mar 24 22:24:17 2010
New Revision: 5285
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5285

Log:
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 at coresystems.de>
Acked-by: Myles Watson <mylesgw at gmail.com>

Modified:
   trunk/src/pc80/keyboard.c

Modified: trunk/src/pc80/keyboard.c
==============================================================================
--- trunk/src/pc80/keyboard.c	Wed Mar 24 22:21:33 2010	(r5284)
+++ trunk/src/pc80/keyboard.c	Wed Mar 24 22:24:17 2010	(r5285)
@@ -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 @@
 	}
 
 	if (!timeout) {
-		printk(BIOS_WARNING, "Keyboard controller output buffer result timeout\n");
+		printk(BIOS_INFO, "Keyboard controller output buffer result timeout\n");
 	}
 	return !!timeout;
 }




More information about the coreboot mailing list