]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: suppress PS/2 keyboard polling.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:45:10 +0000 (15:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 06:17:32 +0000 (16:47 +1030)
commitf47f0f5446993314af2ffcd775ad1f7f7e347db2
treefcb01466eada372e4de571eff88fb5af41d36096
parent5eb4248b7b3b0a1bb2e51279f7e90b4c1b3c9584
lguest: suppress PS/2 keyboard polling.

While hacking on getting I/O out to the lguest launcher, I noticed
that returning 0xFF for the PS/2 keyboard status made it spin for a
while thinking there was a key pending.  Fix this by returning 1
instead of 0xFF.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/lguest/lguest.c