diff options
author | 2013-07-06 18:08:47 +0000 | |
---|---|---|
committer | 2013-07-06 18:08:47 +0000 | |
commit | cf5901b323d6b22065550cdd20beb25657cdb852 (patch) | |
tree | ebfbb6f535b7e42ab11e3fc29280393b8a506d02 | |
parent | tabs got lost in previous rev (diff) | |
download | wireguard-openbsd-cf5901b323d6b22065550cdd20beb25657cdb852.tar.xz wireguard-openbsd-cf5901b323d6b22065550cdd20beb25657cdb852.zip |
Use the write-only rasops code to speed up the console framebuffer.
ok kettenis@
-rw-r--r-- | sys/arch/macppc/pci/vgafb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/pci/vgafb.c b/sys/arch/macppc/pci/vgafb.c index ac8c3cbee45..91d3cb8bc74 100644 --- a/sys/arch/macppc/pci/vgafb.c +++ b/sys/arch/macppc/pci/vgafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vgafb.c,v 1.47 2013/06/04 02:29:32 mpi Exp $ */ +/* $OpenBSD: vgafb.c,v 1.48 2013/07/06 18:08:47 mpi Exp $ */ /* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */ /* @@ -133,7 +133,7 @@ vgafb_wsdisplay_attach(struct device *parent, struct vga_config *vc, struct rasops_info *ri = &vc->ri; long defattr; - ri->ri_flg |= RI_VCONS; + ri->ri_flg |= RI_VCONS | RI_WRONLY; rasops_init(ri, 160, 160); ri->ri_ops.alloc_attr(ri->ri_active, 0, 0, 0, &defattr); |