patch-2.1.79 linux/drivers/sbus/char/sunkbd.h

Next file: linux/drivers/sbus/char/sunkbdmap.c
Previous file: linux/drivers/sbus/char/sunkbd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/drivers/sbus/char/sunkbd.h linux/drivers/sbus/char/sunkbd.h
@@ -1,4 +1,4 @@
-/* $Id: sunkbd.h,v 1.1 1997/08/28 02:23:34 ecd Exp $
+/* $Id: sunkbd.h,v 1.3 1997/09/08 03:05:10 tdyas Exp $
  * sunkbd.h: Defines needed by SUN Keyboard drivers
  *
  * Copyright (C) 1997  Eddie C. Dost  (ecd@skynet.be)
@@ -7,6 +7,8 @@
 #ifndef _SPARC_SUNKBD_H
 #define _SPARC_SUNKBD_H 1
 
+#include <linux/config.h>
+
 /* Keyboard defines for L1-A processing... */
 #define SUNKBD_RESET		0xff
 #define SUNKBD_L1		0x01
@@ -23,5 +25,27 @@
 extern void keyboard_zsinit(void (*kbd_put_char)(unsigned char));
 extern void sunkbd_inchar(unsigned char, struct pt_regs *);
 extern void batten_down_hatches(void);
+
+extern int sun_kbd_init(void);
+extern void sun_compute_shiftstate(void);
+extern void sun_setledstate(struct kbd_struct *, unsigned int);
+extern unsigned char sun_getledstate(void);
+extern int sun_setkeycode(unsigned int, unsigned int);
+extern int sun_getkeycode(unsigned int);
+
+#ifdef CONFIG_PCI
+
+extern ushort *sun_key_maps[MAX_NR_KEYMAPS];
+extern unsigned int sun_keymap_count;
+
+extern char sun_func_buf[];
+extern char *sun_func_table[MAX_NR_FUNC];
+extern int sun_funcbufsize;
+extern int sun_funcbufleft;
+
+extern struct kbdiacr sun_accent_table[MAX_DIACR];
+extern unsigned int sun_accent_table_size;
+
+#endif /* CONFIG_PCI */
 
 #endif /* !(_SPARC_SUNKBD_H) */

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