From 62c8b2595d0a7f6bbf463e48f1338dd2bf9b5bd2 Mon Sep 17 00:00:00 2001 From: matthieu <> Date: Sat, 24 Aug 2002 17:21:44 +0000 Subject: [PATCH] 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@ --- src/etc/etc.alpha/MAKEDEV.md | 3 ++- src/etc/etc.alpha/sysctl.conf | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/etc/etc.alpha/MAKEDEV.md b/src/etc/etc.alpha/MAKEDEV.md index 78156a5f..b4926313 100644 --- a/src/etc/etc.alpha/MAKEDEV.md +++ b/src/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 @@ -95,6 +95,7 @@ ramdisk) ;; _std(1, 2, 39, 3, 6) + M xf86 c 2 4 600 ;; ttyB*|ttyc*) diff --git a/src/etc/etc.alpha/sysctl.conf b/src/etc/etc.alpha/sysctl.conf index c0dc0a3e..5830d5f8 100644 --- a/src/etc/etc.alpha/sysctl.conf +++ b/src/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)