patch-2.4.0-test7 linux/include/asm-arm/arch-ebsa285/keyboard.h

Next file: linux/include/asm-arm/arch-ebsa285/memory.h
Previous file: linux/include/asm-arm/arch-ebsa285/irqs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/include/asm-arm/arch-ebsa285/keyboard.h linux/include/asm-arm/arch-ebsa285/keyboard.h
@@ -6,11 +6,10 @@
  * (C) 1998 Russell King
  * (C) 1998 Phil Blundell
  */
+#include <linux/ioport.h>
 #include <asm/irq.h>
 #include <asm/system.h>
 
-extern int have_isa_bridge;
-
 extern int pckbd_setkeycode(unsigned int scancode, unsigned int keycode);
 extern int pckbd_getkeycode(unsigned int scancode);
 extern int pckbd_translate(unsigned char scancode, unsigned char *keycode,
@@ -71,7 +70,7 @@
 #define SYSRQ_KEY	0x54
 
 /* resource allocation */
-#define kbd_request_region()
+#define kbd_request_region()	request_region(0x60, 16, "keyboard")
 #define kbd_request_irq(handler) request_irq(KEYBOARD_IRQ, handler, 0, \
 					     "keyboard", NULL)
 

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