summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/pci/vgafb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/macppc/pci/vgafb.c')
-rw-r--r--sys/arch/macppc/pci/vgafb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/macppc/pci/vgafb.c b/sys/arch/macppc/pci/vgafb.c
index 5843485eea5..d4da7a89e7b 100644
--- a/sys/arch/macppc/pci/vgafb.c
+++ b/sys/arch/macppc/pci/vgafb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb.c,v 1.24 2005/01/05 23:04:24 miod Exp $ */
+/* $OpenBSD: vgafb.c,v 1.25 2005/10/08 05:47:25 drahn Exp $ */
/* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */
/*
@@ -172,7 +172,8 @@ vgafb_common_setup(bus_space_tag_t iot, bus_space_tag_t memt,
/* memsize should only be visible region for console */
memsize = cons_height * cons_linebytes;
- if (bus_space_map(vc->vc_memt, membase, memsize, 1, &vc->vc_memh))
+ if (bus_space_map(vc->vc_memt, membase, memsize,
+ /* XXX */ppc_proc_is_64b ? 0 : 1, &vc->vc_memh))
panic("vgafb_common_setup: couldn't map memory");
cons_display_mem_h = vc->vc_memh;
vc->vc_ofh = cons_display_ofh;