diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2002-06-17 23:10:57 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2002-06-17 23:10:57 +0000 |
commit | 45c192c6b8db8553d2bf9fca747f42c09d6c0865 (patch) | |
tree | 882414b07feb4f00342b83ea4ba23d3bc17d59a1 /sys/arch/i386/include/pccons.h | |
parent | d665c5ffe8a41e59934d68ce804a2ef6bfc1c601 (diff) |
remove old pccons console driver. Not used anymore and not maintained.
ok millert@, miod@.
Diffstat (limited to 'sys/arch/i386/include/pccons.h')
-rw-r--r-- | sys/arch/i386/include/pccons.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/sys/arch/i386/include/pccons.h b/sys/arch/i386/include/pccons.h deleted file mode 100644 index 3195344edf3..00000000000 --- a/sys/arch/i386/include/pccons.h +++ /dev/null @@ -1,55 +0,0 @@ -/* $OpenBSD: pccons.h,v 1.7 2002/03/14 01:26:33 millert Exp $ */ -/* $NetBSD: pccons.h,v 1.4 1996/02/02 18:06:06 mycroft Exp $ */ - -/* - * pccons.h -- pccons ioctl definitions - */ - -#ifndef _PCCONS_H_ -#define _PCCONS_H_ - -#include <sys/ioctl.h> - -/* key types -- warning: pccons.c depends on most values */ - -#define KB_SCROLL 0x0001 /* stop output */ -#define KB_NUM 0x0002 /* numeric shift cursors vs. numeric */ -#define KB_CAPS 0x0004 /* caps shift -- swaps case of letter */ -#define KB_SHIFT 0x0008 /* keyboard shift */ -#define KB_CTL 0x0010 /* control shift -- allows ctl function */ -#define KB_ASCII 0x0020 /* ascii code for this key */ -#define KB_ALTGR 0x0040 /* alternate graphics shift */ -#define KB_ALT 0x0080 /* alternate shift -- alternate chars */ -#define KB_FUNC 0x0100 /* function key */ -#define KB_KP 0x0200 /* Keypad keys */ -#define KB_NONE 0x0400 /* no function */ - -#define KB_CODE_SIZE 4 /* Use a max of 4 for now... */ -#define KB_NUM_KEYS 128 /* Number of scan codes */ -typedef struct { - u_short type; - char unshift[KB_CODE_SIZE]; - char shift[KB_CODE_SIZE]; - char ctl[KB_CODE_SIZE]; - char altgr[KB_CODE_SIZE]; - char shift_altgr[KB_CODE_SIZE]; -} pccons_keymap_t; - -#define CONSOLE_X_MODE_ON _IO('t',121) -#define CONSOLE_X_MODE_OFF _IO('t',122) -#define CONSOLE_X_BELL _IOW('t',123,int[2]) -#define CONSOLE_SET_TYPEMATIC_RATE _IOW('t',124,u_char) -#define CONSOLE_GET_KEYMAP _IOR('t',128,pccons_keymap_t[KB_NUM_KEYS]) -#define CONSOLE_SET_KEYMAP _IOW('t',129,pccons_keymap_t[KB_NUM_KEYS]) -#define CONSOLE_SET_BLANK _IOW('t',130,int) - -#ifdef _KERNEL -int pccnattach(void); - -#if (NPCCONSKBD > 0) -int pcconskbd_cnattach _P((pckbc_tag_t, pckbc_slot_t)); -#endif - -#endif /* _KERNEL */ - -#endif /* _PCCONS_H_ */ |