Re: [PATCH] Eat keys on panic

Alan Cox (alan@lxorguk.ukuu.org.uk)
31 May 2003 15:14:51 +0100


On Sad, 2003-05-31 at 12:56, Andi Kleen wrote:

> +void eat_key(void)
> +{
> + if (inb(0x60) & 1)
> + inb(0x64);
> }

This will crash at least one of my machines. The keyboard controller
has mandatory access delays of up to 1mS. Respect them or some stuff
dies horribly.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/