aboutsummaryrefslogtreecommitdiff
path: root/hw/pckbd.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-19 14:16:20 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-19 14:16:20 +0000
commit889bec69d67d36f58f5a1a05fc2832816cca8d6f (patch)
treedaacd195cad37485c14c33d7698d4121bbcaa0eb /hw/pckbd.c
parent82258945ef2cc4a4ec7cdcef02e751bd30cb199f (diff)
Revert "QEMU keyboard issue with Gujin-2.2" (Avi Kivity).
This reverts commit r3421, which kills the mouse in SuSE Linux 9.1 (there were other reports of breakage earlier also). Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4905 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pckbd.c')
-rw-r--r--hw/pckbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pckbd.c b/hw/pckbd.c
index f58950ea78..0845c96497 100644
--- a/hw/pckbd.c
+++ b/hw/pckbd.c
@@ -208,7 +208,7 @@ static void kbd_write_command(void *opaque, uint32_t addr, uint32_t val)
#endif
switch(val) {
case KBD_CCMD_READ_MODE:
- kbd_queue(s, s->mode, 1);
+ kbd_queue(s, s->mode, 0);
break;
case KBD_CCMD_WRITE_MODE:
case KBD_CCMD_WRITE_OBUF: