summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
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/i386/isa
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/i386/isa')
-rw-r--r--sys/arch/i386/isa/pccons.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/pccons.c b/sys/arch/i386/isa/pccons.c
index 3f3f19879e9..ce9e6a98eb7 100644
--- a/sys/arch/i386/isa/pccons.c
+++ b/sys/arch/i386/isa/pccons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccons.c,v 1.47 2001/05/16 05:07:48 millert Exp $ */
+/* $OpenBSD: pccons.c,v 1.48 2001/11/01 12:13:46 art Exp $ */
/* $NetBSD: pccons.c,v 1.99.4.1 1996/06/04 20:03:53 cgd Exp $ */
/*-
@@ -1890,10 +1890,10 @@ loop:
goto top;
}
-int
+paddr_t
pcmmap(dev, offset, nprot)
dev_t dev;
- int offset;
+ off_t offset;
int nprot;
{