patch-2.3.99-pre6 linux/drivers/usb/keybdev.c
Next file: linux/drivers/usb/mdc800.c
Previous file: linux/drivers/usb/joydev.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Wed Apr 26 14:53:39 2000
-  Orig file: 
v2.3.99-pre5/linux/drivers/usb/keybdev.c
-  Orig date: 
Tue Apr 11 15:09:20 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/usb/keybdev.c linux/drivers/usb/keybdev.c
@@ -36,7 +36,7 @@
 #include <linux/module.h>
 #include <linux/kbd_kern.h>
 
-#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(CONFIG_ALPHA) || defined(CONFIG_MIPS)
+#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(__alpha__) || defined(__mips__)
 
 static int x86_sysrq_alt = 0;
 
@@ -102,7 +102,7 @@
 	 76,125, 75,105,124,  0,115, 62,116, 59, 60,119, 61,121,114,117,
 	  0,  0,  0,  0,127, 81,  0,113,  0,  0,  0,  0,  0, 55, 55 };
 
-static int emulate_raw(unsigned int code, unsigned char upflag)
+static int emulate_raw(unsigned int keycode, int down)
 {
 	if (keycode > 127 || !mac_keycodes[keycode])
 		return -1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)