summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cgtwo.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-03 03:24:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-03 03:24:28 +0000
commit53a1ce34d82c0b0eb1c7da25066c0aeb558a68f9 (patch)
treed1ffe0daab1ab96fa23f61baa8d2a24d2efa48aa /sys/arch/sparc/dev/cgtwo.c
parent6021cd51eb4080d23227a3d168d26326b0b27273 (diff)
can map pixels in VME32 space
Diffstat (limited to 'sys/arch/sparc/dev/cgtwo.c')
-rw-r--r--sys/arch/sparc/dev/cgtwo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/cgtwo.c b/sys/arch/sparc/dev/cgtwo.c
index dd2f69b257b..735bb97a4c5 100644
--- a/sys/arch/sparc/dev/cgtwo.c
+++ b/sys/arch/sparc/dev/cgtwo.c
@@ -402,5 +402,5 @@ cgtwommap(dev, off, prot)
if ((unsigned)off >= sc->sc_fb.fb_type.fb_size)
return (-1);
- return ((int)sc->sc_phys + off + PMAP_VME16 + PMAP_NC);
+ return ((int)sc->sc_phys + off + PMAP_VME32 + PMAP_NC);
}