summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/vmel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k/dev/vmel.c')
-rw-r--r--sys/arch/mvme68k/dev/vmel.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/dev/vmel.c b/sys/arch/mvme68k/dev/vmel.c
index ede73a86c22..f446fb646a5 100644
--- a/sys/arch/mvme68k/dev/vmel.c
+++ b/sys/arch/mvme68k/dev/vmel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmel.c,v 1.3 1996/04/28 11:06:16 deraadt Exp $ */
+/* $OpenBSD: vmel.c,v 1.4 1996/06/11 10:15:32 deraadt Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -163,13 +163,14 @@ vmelwrite(dev, uio, flags)
int
vmelmmap(dev, off, prot)
dev_t dev;
- int off, prot;
+ int off;
+ int prot;
{
int unit = minor(dev);
struct vmelsoftc *sc = (struct vmelsoftc *) vmel_cd.cd_devs[unit];
- caddr_t pa;
+ void * pa;
- pa = vmepmap(sc->sc_vme, (caddr_t)off, NBPG, BUS_VMEL);
+ pa = vmepmap(sc->sc_vme, (void *)off, NBPG, BUS_VMEL);
printf("vmel %x pa %x\n", off, pa);
if (pa == NULL)
return (-1);