summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/vmel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k/dev/vmel.c')
-rw-r--r--sys/arch/mvme88k/dev/vmel.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/arch/mvme88k/dev/vmel.c b/sys/arch/mvme88k/dev/vmel.c
index 04f7b840ee9..064a8fb4b26 100644
--- a/sys/arch/mvme88k/dev/vmel.c
+++ b/sys/arch/mvme88k/dev/vmel.c
@@ -1,4 +1,4 @@
-/* $NetBSD$ */
+/* $OpenBSD: vmel.c,v 1.2 1998/12/15 05:52:31 smurph Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -50,11 +50,6 @@
void vmelattach __P((struct device *, struct device *, void *));
int vmelmatch __P((struct device *, void *, void *));
-struct vmelsoftc {
- struct device sc_dev;
- struct vmesoftc *sc_vme;
-};
-
struct cfattach vmel_ca = {
sizeof(struct vmelsoftc), vmelmatch, vmelattach
};
@@ -166,9 +161,9 @@ vmelmmap(dev, off, 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);