summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-09-17 15:10:37 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-09-17 15:10:37 +0000
commit87e93fa8155b053704b6448a061b24ac072e63ea (patch)
treea319c6afa20f235169aa569be8ce001682716f67 /sys
parentd6ea0d9ca1ff19bb30c4a5f9683a3ee5750c21f2 (diff)
The gfx display buffer should request that it be mapped cached (writethru).
Not used yet, but when the bus_space_map code and pmap are fixed, this will speed up the console.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/pci/vgafb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/pci/vgafb.c b/sys/arch/macppc/pci/vgafb.c
index 56c0a21db94..0e5cdb868d4 100644
--- a/sys/arch/macppc/pci/vgafb.c
+++ b/sys/arch/macppc/pci/vgafb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb.c,v 1.2 2001/09/13 13:38:45 drahn Exp $ */
+/* $OpenBSD: vgafb.c,v 1.3 2001/09/17 15:10:36 drahn Exp $ */
/* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */
/*
@@ -237,7 +237,7 @@ vgafb_common_setup(iot, memt, vc, iobase, iosize, membase, memsize, mmiobase, mm
#endif
/* memsize should only be visable region for console */
memsize = cons_height * cons_linebytes;
- if (bus_space_map(vc->vc_memt, membase, memsize, 0, &vc->vc_memh))
+ if (bus_space_map(vc->vc_memt, membase, memsize, 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;