summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.agp
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-03-16 19:00:29 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-03-16 19:00:29 +0000
commitc5322cc7f26f297d89d5739341558d77a823ca0a (patch)
tree89262368ac92e725ff85a9bd6201003c7e69d4c7 /sys/dev/pci/files.agp
parent68d85f5a89fb982d3c281c6c189cd217dc0d9ae0 (diff)
Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimes
agp and drm need to use the same memory mapping, the best way to deal with that is to allow them to share (that's coming later), for this to work cleanly we move the attach point of agp. Ideally most agp drivers would attach at pchb, with only agp_i810 (and any that work similarly) attaching at vga, but this will do for now. ok kettenis@, miod@.
Diffstat (limited to 'sys/dev/pci/files.agp')
-rw-r--r--sys/dev/pci/files.agp22
1 files changed, 9 insertions, 13 deletions
diff --git a/sys/dev/pci/files.agp b/sys/dev/pci/files.agp
index e1b5249e1f3..cdd86684e62 100644
--- a/sys/dev/pci/files.agp
+++ b/sys/dev/pci/files.agp
@@ -1,31 +1,27 @@
-# $OpenBSD: files.agp,v 1.1 2007/11/25 17:11:12 oga Exp $
+# $OpenBSD: files.agp,v 1.2 2008/03/16 19:00:28 oga Exp $
-define agpbus { }
-
-device agp
-attach agp at agpbus
file dev/pci/agp.c agp needs-flag
define agp_ali
-file dev/pci/agp_ali.c agp_ali & agp needs-flag
+file dev/pci/agp_ali.c agp_ali & agpbus needs-flag
define agp_amd
-file dev/pci/agp_amd.c agp_amd & agp needs-flag
+file dev/pci/agp_amd.c agp_amd & agpbus needs-flag
define agp_apple
-file dev/pci/agp_apple.c agp_apple & agp needs-flag
+file dev/pci/agp_apple.c agp_apple & agpbus needs-flag
define agp_i810
-file dev/pci/agp_i810.c agp_i810 & agp needs-flag
+file dev/pci/agp_i810.c agp_i810 & agpbus needs-flag
define agp_intel
-file dev/pci/agp_intel.c agp_intel & agp needs-flag
+file dev/pci/agp_intel.c agp_intel & agpbus needs-flag
define agp_sis
-file dev/pci/agp_sis.c agp_sis & agp needs-flag
+file dev/pci/agp_sis.c agp_sis & agpbus needs-flag
define agp_via
-file dev/pci/agp_via.c agp_via & agp needs-flag
+file dev/pci/agp_via.c agp_via & agpbus needs-flag
define agp_amd64
-file dev/pci/agp_amd64.c agp_amd64 & agp needs-flag
+file dev/pci/agp_amd64.c agp_amd64 & agpbus needs-flag