Re: [PATCH] Eat keys on panic

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat May 31 2003 - 10:17:13 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/