diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2005-10-08 05:47:26 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2005-10-08 05:47:26 +0000 |
commit | cc7cac36d20c7bd0f10cb17e9c9f24d6dbea4f72 (patch) | |
tree | c8b6cac61e703a0515216fedfeb382791d9b3dd7 /sys | |
parent | d96bf3efa48132f920110d6b02e6f2984d35f019 (diff) |
Disable caching on vga buffer on 64bit machines. currently it causes
hangs.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/pci/vgafb.c | 5 |
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; |