Small patch that adds an error message in case keyboard selftest fails.

Signed-off-by: Philipp Degler <[EMAIL PROTECTED]>
Index: src/pc80/keyboard.c
===================================================================
--- src/pc80/keyboard.c	(Revision 2688)
+++ src/pc80/keyboard.c	(Arbeitskopie)
@@ -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);

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to