summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/sram.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k/dev/sram.c')
-rw-r--r--sys/arch/mvme88k/dev/sram.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/dev/sram.c b/sys/arch/mvme88k/dev/sram.c
index 79c128a33a0..c8ffa6923bc 100644
--- a/sys/arch/mvme88k/dev/sram.c
+++ b/sys/arch/mvme88k/dev/sram.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sram.c,v 1.2 2001/06/14 21:30:34 miod Exp $ */
+/* $OpenBSD: sram.c,v 1.3 2001/11/01 12:13:46 art Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -205,10 +205,11 @@ sramwrite(dev, uio, flags)
return (memdevrw(sc->sc_vaddr, sc->sc_len, uio, flags));
}
-int
+paddr_t
srammmap(dev, off, prot)
dev_t dev;
- int off, prot;
+ off_t off;
+ int prot;
{
int unit = minor(dev);
struct sramsoftc *sc = (struct sramsoftc *) sram_cd.cd_devs[unit];