From: Ben Gras Date: Tue, 24 Mar 2009 15:41:18 +0000 (+0000) Subject: workaround for qemu writing the configuration byte on the AUX port pre-0.10. X-Git-Tag: v3.1.4~95 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/static/host.html?a=commitdiff_plain;h=46d28c6ffbafbfa24f5b219525b0ab7cccd7265d;p=minix.git workaround for qemu writing the configuration byte on the AUX port pre-0.10. --- diff --git a/drivers/tty/keyboard.c b/drivers/tty/keyboard.c index d0e9fdcaf..8fc9176f4 100644 --- a/drivers/tty/keyboard.c +++ b/drivers/tty/keyboard.c @@ -856,14 +856,7 @@ PRIVATE int kbc_read() if(sys_inb(KEYBD, &byte) != OK) printf("kbc_read: 2 sys_inb failed\n"); if (st & KB_AUX_BYTE) - { -#if DEBUG - printf( - "keyboard`kbc_read: ignoring byte (0x%x) from aux device.\n", - byte); -#endif - continue; - } + printf("kbc_read: aux byte 0x%x\n", byte); #if DEBUG printf("keyboard`kbc_read: returning byte 0x%x\n", byte);