patch-2.1.115 linux/drivers/char/pc_keyb.c
Next file: linux/drivers/char/pc_keyb.h
Previous file: linux/drivers/char/misc.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 4 16:57:10 1998
- Orig file:
v2.1.114/linux/drivers/char/pc_keyb.c
- Orig date:
Tue Jun 23 10:01:22 1998
diff -u --recursive --new-file v2.1.114/linux/drivers/char/pc_keyb.c linux/drivers/char/pc_keyb.c
@@ -224,7 +224,7 @@
-unsigned char kbd_read_mask = KBD_STAT_OBF; /* Modified by psaux.c */
+unsigned char pckbd_read_mask = KBD_STAT_OBF; /* Modified by psaux.c */
/* used only by send_data - set by keyboard_interrupt */
static volatile unsigned char reply_expected = 0;
@@ -559,7 +559,7 @@
unsigned char scancode;
/* mouse data? */
- if (status & kbd_read_mask & KBD_STAT_MOUSE_OBF)
+ if (status & pckbd_read_mask & KBD_STAT_MOUSE_OBF)
break;
scancode = inb(KBD_DATA_REG);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov