workaround for qemu writing the configuration byte on the AUX port pre-0.10.
This commit is contained in:
parent
d8d63f0e07
commit
46d28c6ffb
1 changed files with 1 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue