diff options
Diffstat (limited to 'sys/arch/hp300/dev/grfvar.h')
-rw-r--r-- | sys/arch/hp300/dev/grfvar.h | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/grfvar.h b/sys/arch/hp300/dev/grfvar.h index 5eaa0d3fe3c..0da88462c8c 100644 --- a/sys/arch/hp300/dev/grfvar.h +++ b/sys/arch/hp300/dev/grfvar.h @@ -1,5 +1,5 @@ -/* $OpenBSD: grfvar.h,v 1.5 1997/02/05 16:01:17 downsj Exp $ */ -/* $NetBSD: grfvar.h,v 1.9 1997/01/30 09:18:51 thorpej Exp $ */ +/* $OpenBSD: grfvar.h,v 1.6 1997/04/16 11:56:06 downsj Exp $ */ +/* $NetBSD: grfvar.h,v 1.10 1997/03/31 07:34:19 scottr Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -126,6 +126,30 @@ struct grfdev_attach_args { #ifdef _KERNEL extern struct grf_data grf_cn; /* grf_data for console device */ +/* grf.c prototypes */ +int grfmap __P((dev_t, caddr_t *, struct proc *)); +int grfunmap __P((dev_t, caddr_t, struct proc *)); +int grfon __P((dev_t)); +int grfoff __P((dev_t)); +int grfaddr __P((struct grf_softc *, int)); + +#ifdef COMPAT_HPUX +int hpuxgrfioctl __P((dev_t, int, caddr_t, int, struct proc *)); + +int grflock __P((struct grf_data *, int)); +int grfunlock __P((struct grf_data *)); +int grfdevno __P((dev_t)); + +int iommap __P((dev_t, caddr_t *)); +int iounmmap __P((dev_t, caddr_t)); + +int grffindpid __P((struct grf_data *)); +void grfrmpid __P((struct grf_data *)); +int grflckmmap __P((dev_t, caddr_t *)); +int grflckunmmap __P((dev_t, caddr_t)); +#endif /* COMPAT_HPUX */ + +/* grf_subr.c prototypes */ struct itesw; void grfdev_attach __P((struct grfdev_softc *, int (*init)(struct grf_data *, int, caddr_t), |