summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/pci/vgafbvar.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-04-09 12:22:57 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-04-09 12:22:57 +0000
commit5150aed235afc0963f0fa2403bb83ecf65c1de56 (patch)
tree5bcd114bbc036ad5731e2e6ff85661cd904a0b96 /sys/arch/macppc/pci/vgafbvar.h
parent0857e379c68e7fe815a8708f47cf629409c544dd (diff)
On macppc and sparc64, if allowaperture=0 only allow mmap()-ing of
the framebuffer memory in WSDISPLAYIO_MODE_DUMBFB mode.
Diffstat (limited to 'sys/arch/macppc/pci/vgafbvar.h')
-rw-r--r--sys/arch/macppc/pci/vgafbvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/macppc/pci/vgafbvar.h b/sys/arch/macppc/pci/vgafbvar.h
index 681ff222473..34d56ffe769 100644
--- a/sys/arch/macppc/pci/vgafbvar.h
+++ b/sys/arch/macppc/pci/vgafbvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafbvar.h,v 1.10 2003/11/12 20:08:31 miod Exp $ */
+/* $OpenBSD: vgafbvar.h,v 1.11 2006/04/09 12:22:56 matthieu Exp $ */
/* $NetBSD: vgavar.h,v 1.2 1996/11/23 06:06:43 cgd Exp $ */
/*
@@ -65,6 +65,7 @@ struct vgafb_config {
int vc_backlight_on;
int nscreens;
+ u_int vc_mode;
};
int vgafb_common_probe(bus_space_tag_t, bus_space_tag_t,