summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/ascvar.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-01 12:13:48 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-01 12:13:48 +0000
commitd5cc9696a2b0e4aab5c615d0009f9ab5030bbcaa (patch)
tree9a94822b0c5101e2ea8729a3c2885a26f42e1493 /sys/arch/mac68k/dev/ascvar.h
parent9dcaf3656438ee022f80bec8c3b7b7d5d3765802 (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/mac68k/dev/ascvar.h')
-rw-r--r--sys/arch/mac68k/dev/ascvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/ascvar.h b/sys/arch/mac68k/dev/ascvar.h
index e850f83707e..ff05129d144 100644
--- a/sys/arch/mac68k/dev/ascvar.h
+++ b/sys/arch/mac68k/dev/ascvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ascvar.h,v 1.3 2001/08/23 08:17:40 miod Exp $ */
+/* $OpenBSD: ascvar.h,v 1.4 2001/11/01 12:13:46 art Exp $ */
/* $NetBSD: ascvar.h,v 1.3 1997/02/24 05:47:34 scottr Exp $ */
/*
@@ -48,4 +48,4 @@ int ascread __P((dev_t, struct uio *, int));
int ascwrite __P((dev_t, struct uio *, int));
int ascioctl __P((dev_t, int, caddr_t, int, struct proc *p));
int ascselect __P((dev_t dev, int rw, struct proc *p));
-int ascmmap __P((dev_t dev, int off, int prot));
+paddr_t ascmmap __P((dev_t dev, off_t off, int prot));