summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-03-27 01:00:49 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-03-27 01:00:49 +0000
commit1b6dda9fdf87f720945ceaaf8d294ad089bb0639 (patch)
tree01a25773e67d59f8443dcf8333449af229963a31 /sys/arch
parent55fb8c5cf0dcd0dd8dc27a1e0b9d02958dceed21 (diff)
bus_space_mmap wants the paddr not the handle
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/dev/vgafb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vgafb.c b/sys/arch/sparc64/dev/vgafb.c
index e9b5be7139f..36f1ae71424 100644
--- a/sys/arch/sparc64/dev/vgafb.c
+++ b/sys/arch/sparc64/dev/vgafb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb.c,v 1.8 2002/03/26 01:28:18 jason Exp $ */
+/* $OpenBSD: vgafb.c,v 1.9 2002/03/27 01:00:48 jason Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -412,7 +412,7 @@ vgafb_mmap(v, off, prot)
return (-1);
if (off >= 0 && off < 0x800000) {
- return (bus_space_mmap(sc->sc_mem_t, sc->sc_mem_h, off, prot,
+ return (bus_space_mmap(sc->sc_mem_t, sc->sc_mem_addr, off, prot,
BUS_SPACE_MAP_LINEAR));
}