diff options
Diffstat (limited to 'sys/arch/mvme88k/dev/vmel.c')
-rw-r--r-- | sys/arch/mvme88k/dev/vmel.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/dev/vmel.c b/sys/arch/mvme88k/dev/vmel.c index 8c91db1892b..4b6660783e1 100644 --- a/sys/arch/mvme88k/dev/vmel.c +++ b/sys/arch/mvme88k/dev/vmel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmel.c,v 1.5 2001/08/26 02:37:07 miod Exp $ */ +/* $OpenBSD: vmel.c,v 1.6 2001/11/01 12:13:46 art Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -65,7 +65,7 @@ int vmelclose __P((dev_t, int, int)); int vmelioctl __P((dev_t, int, caddr_t, int, struct proc *)); int vmelread __P((dev_t, struct uio *, int)); int vmelwrite __P((dev_t, struct uio *, int)); -int vmelmmap __P((dev_t, int, int)); +paddr_t vmelmmap __P((dev_t, off_t, int)); int vmelmatch(parent, cf, args) @@ -161,10 +161,11 @@ vmelwrite(dev, uio, flags) return (vmerw(sc->sc_vme, uio, flags, BUS_VMEL)); } -int +paddr_t vmelmmap(dev, off, prot) dev_t dev; - int off, prot; + off_t off; + int prot; { int unit = minor(dev); struct vmelsoftc *sc = (struct vmelsoftc *) vmel_cd.cd_devs[unit]; |