summaryrefslogtreecommitdiff
path: root/etc/etc.amd64
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 /etc/etc.amd64
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 'etc/etc.amd64')
-rw-r--r--etc/etc.amd64/MAKEDEV.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/etc.amd64/MAKEDEV.md b/etc/etc.amd64/MAKEDEV.md
index 57e2dd0bc13..eb11c50f088 100644
--- a/etc/etc.amd64/MAKEDEV.md
+++ b/etc/etc.amd64/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.20 2007/11/25 15:46:06 tedu Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.21 2007/11/25 17:11:11 oga Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
@@ -20,6 +20,8 @@ dnl
__devitem(apm, apm, Power Management Interface)dnl
__devitem(nvram, nvram, NVRAM access)dnl
_mkdev(nvram, nvram, {-M nvram c major_nvram_c 0 440 kmem-})dnl
+_mkdev(agp, agp*, {-M agp$U c major_agp_c $U
+ MKlist[${#MKlist[*]}]=";[ -e agpgart ] || ln -s agp$U agpgart"-})dnl
_TITLE(make)
_DEV(all)
_DEV(ramdisk)
@@ -65,6 +67,7 @@ _DEV(urio, 65)
_DEV(usb, 61)
_DEV(uscan, 77)
_TITLE(spec)
+_DEV(agp, 87)
dnl _DEV(apm, 21)
_DEV(apm, 83)
_DEV(au, 42)
@@ -131,6 +134,7 @@ target(all, ccd, 0, 1, 2, 3)dnl
target(all, bktr, 0)dnl
target(all, nvram)dnl
target(all, bthub, 0, 1, 2)dnl
+target(all, agp, 0)dnl
twrget(ramd, wsdisp, ttyC, 0)dnl
target(ramd, fd, 0)dnl
target(ramd, mcd, 0)dnl