From d5cc9696a2b0e4aab5c615d0009f9ab5030bbcaa Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Thu, 1 Nov 2001 12:13:48 +0000 Subject: 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. --- sys/arch/mac68k/dev/ascvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/mac68k/dev/ascvar.h') 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)); -- cgit v1.2.3