From: Kevin O'Connor Date: Mon, 12 Mar 2012 00:45:56 +0000 (-0400) Subject: ps2: Enable keyboard at end of PS2 port irq. X-Git-Tag: rel-1.7.0~12 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=90ce89f8953da0e89c311aa34116b59aac1c6c5e;p=seabios.git ps2: Enable keyboard at end of PS2 port irq. Looks like some old programs expect the keyboard irq to enable the keyboard port at the end of the irq. This behavior was seen on an image of "Concurrent DOS". Signed-off-by: Kevin O'Connor --- diff --git a/src/ps2port.c b/src/ps2port.c index 1f04299..4b27b7a 100644 --- a/src/ps2port.c +++ b/src/ps2port.c @@ -404,6 +404,9 @@ handle_09(void) process_key(v); + // Some old programs expect ISR to turn keyboard back on. + i8042_command(I8042_CMD_KBD_ENABLE, NULL); + done: eoi_pic1(); }