]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
pckbd: return 'keyboard enabled' on read input port command
authorHervé Poussineau <hpoussin@reactos.org>
Tue, 11 Feb 2014 22:46:03 +0000 (23:46 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Mar 2014 19:09:38 +0000 (21:09 +0200)
commitf1b7e0e498c03e5b4519eeea73b49aafe9d88618
tree3d845a830aac057d742a9eb3c26a1cc87c3bf77d
parent175f099b30d4736d23384a838b5f324961f67a1e
pckbd: return 'keyboard enabled' on read input port command

Bit 7 of Input Port is the keyboard inhibit switch.
0 means keyboard inhibited, while 1 means keyboard enabled.

Incidentaly, this also fixes an error encountered while booting
an Award BIOS: "Keyboard is locked out - Unlock the key".

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/input/pckbd.c