From cda643378be531b71f1a675d9e22102ab5651b42 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Fri, 4 Sep 2020 00:45:20 +0200 Subject: [PATCH] Fixed Mouse error 8601 on MCA machines. --- src/device/keyboard_at.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/device/keyboard_at.c b/src/device/keyboard_at.c index 584d5a497..50283a713 100644 --- a/src/device/keyboard_at.c +++ b/src/device/keyboard_at.c @@ -2069,7 +2069,8 @@ kbd_read(uint16_t port, void *priv) /* Only clear the transmit timeout flag on non-PS/2 controllers, as on PS/2 controller, it is the keyboard/mouse output source bit. */ dev->status &= ~STAT_RTIMEOUT; - if ((dev->flags & KBC_TYPE_MASK) > KBC_TYPE_PS2_NOREF) + if (((dev->flags & KBC_TYPE_MASK) > KBC_TYPE_PS2_NOREF) && + ((dev->flags & KBC_VEN_MASK) != KBC_VEN_IBM_MCA)) dev->status &= ~STAT_TTIMEOUT; break;