diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-01 12:13:48 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-01 12:13:48 +0000 |
commit | d5cc9696a2b0e4aab5c615d0009f9ab5030bbcaa (patch) | |
tree | 9a94822b0c5101e2ea8729a3c2885a26f42e1493 /sys/arch/sparc/include | |
parent | 9dcaf3656438ee022f80bec8c3b7b7d5d3765802 (diff) |
Change d_mmap in struct cdevsw from:
int (*d_mmap) __P((dev_t, int, int));
to:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
This allows us to mmap devices past 4GB offsets.
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r-- | sys/arch/sparc/include/fbvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/fbvar.h b/sys/arch/sparc/include/fbvar.h index 75117be959c..a9491f2eda9 100644 --- a/sys/arch/sparc/include/fbvar.h +++ b/sys/arch/sparc/include/fbvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fbvar.h,v 1.3 1997/08/08 08:26:18 downsj Exp $ */ +/* $OpenBSD: fbvar.h,v 1.4 2001/11/01 12:13:46 art Exp $ */ /* $NetBSD: fbvar.h,v 1.9 1997/07/07 23:31:30 pk Exp $ */ /* @@ -60,7 +60,7 @@ struct fbdriver { int (*fbd_open) __P((dev_t, int, int, struct proc *)); int (*fbd_close) __P((dev_t, int, int, struct proc *)); int (*fbd_ioctl) __P((dev_t, u_long, caddr_t, int, struct proc *)); - int (*fbd_mmap) __P((dev_t, int, int)); + paddr_t (*fbd_mmap) __P((dev_t, off_t, int)); #ifdef notyet void (*fbd_wrrop)(); /* `write region' rasterop */ void (*fbd_cprop)(); /* `copy region' rasterop */ |