patch-2.2.0-pre9 linux/drivers/char/pc_keyb.c

Next file: linux/drivers/char/tty_ioctl.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre8/linux/drivers/char/pc_keyb.c linux/drivers/char/pc_keyb.c
@@ -744,7 +744,7 @@
 
 	if (status & KBD_STAT_OBF) {
 		val = inb(KBD_DATA_REG);
-		if (val == 0x5a && (status & KBD_STAT_MOUSE_OBF)) {
+		if (status & KBD_STAT_MOUSE_OBF) {
 			printk(KERN_INFO "Detected PS/2 Mouse Port.\n");
 			retval = 1;
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov