diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-04-16 11:56:40 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-04-16 11:56:40 +0000 |
commit | ab08be91e5dc66cfc42b85763d4caf94e2fd3d09 (patch) | |
tree | 89caace66e8787764cc54b781a8cbfd881b69458 /sys/arch/hp300/dev/hilvar.h | |
parent | 75113d46e0ad67778c0741a5bfc96d9d686f7eec (diff) |
Merge portions of NetBSD up to 970415.
This includes:
* All of the prototyping and KNF changes.
* The new interrupt system.
* Portions of the Domain Keyboard support from Mike Smith.
This does not include:
* m68k changes, namely generic dumps.
Various sundry changes and fixes by me.
Diffstat (limited to 'sys/arch/hp300/dev/hilvar.h')
-rw-r--r-- | sys/arch/hp300/dev/hilvar.h | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/hilvar.h b/sys/arch/hp300/dev/hilvar.h index 6db06e20042..c0fe74432db 100644 --- a/sys/arch/hp300/dev/hilvar.h +++ b/sys/arch/hp300/dev/hilvar.h @@ -1,5 +1,5 @@ -/* $OpenBSD: hilvar.h,v 1.3 1997/01/12 15:12:44 downsj Exp $ */ -/* $NetBSD: hilvar.h,v 1.11 1995/12/11 19:41:47 thorpej Exp $ */ +/* $OpenBSD: hilvar.h,v 1.4 1997/04/16 11:56:08 downsj Exp $ */ +/* $NetBSD: hilvar.h,v 1.14 1997/04/01 19:29:10 scottr Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -118,3 +118,28 @@ struct hil_softc { #define KBD_RAW 0x01 /* keyboard is raw */ #define KBD_AR1 0x02 /* keyboard auto-repeat rate 1 */ #define KBD_AR2 0x04 /* keyboard auto-repeat rate 2 */ + +#ifdef _KERNEL +void kbdbell __P((int)); +void kbdenable __P((int)); +void kbddisable __P((int)); +int kbdgetc __P((int *)); +void kbdcninit __P((void)); + +int kbdnmi __P((void)); + +void hilsoftinit __P((int, struct hil_dev *)); +void hilinit __P((int, struct hil_dev *)); + +void send_hil_cmd __P((struct hil_dev *, u_char, + u_char *, u_char, u_char *)); +void send_hildev_cmd __P((struct hil_softc *, char, char)); + +void polloff __P((struct hil_dev *)); +void pollon __P((struct hil_dev *)); + +#ifdef COMPAT_HPUX +int hpuxhilioctl __P((dev_t, int, caddr_t, int)); +int hildevno __P((dev_t)); +#endif /* COMPAT_HPUX */ +#endif /* _KERNEL */ |