From 74df0bf1453807c3948e2af43086e2b2354417aa Mon Sep 17 00:00:00 2001 From: SarahW Date: Tue, 18 Feb 2020 21:34:20 +0000 Subject: [PATCH] Revert part of rev 1505 related to clearing STAT_MFULL on reading port 0x60. Fixes PS/2 8601 errors. --- src/keyboard_at.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/keyboard_at.c b/src/keyboard_at.c index 2cb829f..d4e85be 100644 --- a/src/keyboard_at.c +++ b/src/keyboard_at.c @@ -666,10 +666,7 @@ uint8_t keyboard_at_read(uint16_t port, void *priv) { case 0x60: temp = keyboard_at.out; - if (keyboard_at.last_irq == 0x1000) - keyboard_at.status &= ~(STAT_OFULL | STAT_MFULL); - else - keyboard_at.status &= ~(STAT_OFULL/* | STAT_MFULL*/); + keyboard_at.status &= ~(STAT_OFULL/* | STAT_MFULL*/); picintc(keyboard_at.last_irq); keyboard_at.last_irq = 0; break;