summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2002-08-24 17:21:46 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2002-08-24 17:21:46 +0000
commitb4c0b1f10a5d4009e6de326d0b0fcaeaa6cd8453 (patch)
tree53ecc88a1ec6347747600153b242ef07607610cf /etc
parentb320352a9655ef3e676d29c712d0f9ac6cf5275e (diff)
aperture driver for alpha. It works here the same as on i386
to allow access to VGA card's memory by mmapping /dev/xf86. The macdep.allowaperture does also control /dev/pci access. Ok miod@, deraadt@
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.alpha/MAKEDEV.md3
-rw-r--r--etc/etc.alpha/sysctl.conf1
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/etc.alpha/MAKEDEV.md b/etc/etc.alpha/MAKEDEV.md
index 78156a5f35e..b4926313394 100644
--- a/etc/etc.alpha/MAKEDEV.md
+++ b/etc/etc.alpha/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.12 2002/05/16 21:11:20 miod Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.13 2002/08/24 17:21:44 matthieu Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
@@ -95,6 +95,7 @@ ramdisk)
;;
_std(1, 2, 39, 3, 6)
+ M xf86 c 2 4 600
;;
ttyB*|ttyc*)
diff --git a/etc/etc.alpha/sysctl.conf b/etc/etc.alpha/sysctl.conf
index c0dc0a3e06d..5830d5f80a6 100644
--- a/etc/etc.alpha/sysctl.conf
+++ b/etc/etc.alpha/sysctl.conf
@@ -1,3 +1,4 @@
#machdep.unaligned_print=0 # 0 - disable printing of unaligned access
#machdep.unaligned_fix=0 # 0 - disable fixup of unaligned access
#machdep.unaligned_sigbus=0 # 0 - don't sigbus on unaligned access
+#machdep.allowaperture=1 # see xf86(4)