Revert part of rev 1505 related to clearing STAT_MFULL on reading port 0x60.
Fixes PS/2 8601 errors.
This commit is contained in:
parent
32563970c2
commit
74df0bf145
1 changed files with 1 additions and 4 deletions
|
|
@ -666,10 +666,7 @@ uint8_t keyboard_at_read(uint16_t port, void *priv)
|
||||||
{
|
{
|
||||||
case 0x60:
|
case 0x60:
|
||||||
temp = keyboard_at.out;
|
temp = keyboard_at.out;
|
||||||
if (keyboard_at.last_irq == 0x1000)
|
keyboard_at.status &= ~(STAT_OFULL/* | STAT_MFULL*/);
|
||||||
keyboard_at.status &= ~(STAT_OFULL | STAT_MFULL);
|
|
||||||
else
|
|
||||||
keyboard_at.status &= ~(STAT_OFULL/* | STAT_MFULL*/);
|
|
||||||
picintc(keyboard_at.last_irq);
|
picintc(keyboard_at.last_irq);
|
||||||
keyboard_at.last_irq = 0;
|
keyboard_at.last_irq = 0;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue