patch-2.4.25 linux-2.4.25/drivers/tc/lk201.c

Next file: linux-2.4.25/drivers/tc/zs.c
Previous file: linux-2.4.25/drivers/sound/ymfpci.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/tc/lk201.c linux-2.4.25/drivers/tc/lk201.c
@@ -316,7 +316,7 @@
 	static int prev_scancode;
 	unsigned char c = scancodeRemap[ch];
 
-	if (stat && stat != 4) {
+	if (stat && stat != TTY_OVERRUN) {
 		printk(KERN_ERR "lk201: keyboard receive error: 0x%02x\n",
 		       stat);
 		return;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)