summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.agp
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2007-11-25 17:11:13 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2007-11-25 17:11:13 +0000
commitf6e609402178409f4ffab378b534c5668d547e35 (patch)
tree01a30adae412455b8dc5fff7ffeb751f12ffbb93 /sys/dev/pci/files.agp
parent36d2c964c15e49779643651e2e0f68f3a2b9f26c (diff)
Make agp attach as a device. This means that many more agp bridges
actually get detected and attached. Also adds a kernel api for manipulating agp. Enable this on i386 and amd64. "I think you should commit it" deraadt@, ok matthieu. Looked over by several others.
Diffstat (limited to 'sys/dev/pci/files.agp')
-rw-r--r--sys/dev/pci/files.agp31
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/dev/pci/files.agp b/sys/dev/pci/files.agp
new file mode 100644
index 00000000000..e1b5249e1f3
--- /dev/null
+++ b/sys/dev/pci/files.agp
@@ -0,0 +1,31 @@
+# $OpenBSD: files.agp,v 1.1 2007/11/25 17:11:12 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
+
+define agp_amd
+file dev/pci/agp_amd.c agp_amd & agp needs-flag
+
+define agp_apple
+file dev/pci/agp_apple.c agp_apple & agp needs-flag
+
+define agp_i810
+file dev/pci/agp_i810.c agp_i810 & agp needs-flag
+
+define agp_intel
+file dev/pci/agp_intel.c agp_intel & agp needs-flag
+
+define agp_sis
+file dev/pci/agp_sis.c agp_sis & agp needs-flag
+
+define agp_via
+file dev/pci/agp_via.c agp_via & agp needs-flag
+
+define agp_amd64
+file dev/pci/agp_amd64.c agp_amd64 & agp needs-flag