diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2007-11-25 17:11:13 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2007-11-25 17:11:13 +0000 |
commit | f6e609402178409f4ffab378b534c5668d547e35 (patch) | |
tree | 01a30adae412455b8dc5fff7ffeb751f12ffbb93 /etc/etc.i386/MAKEDEV.md | |
parent | 36d2c964c15e49779643651e2e0f68f3a2b9f26c (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.i386/MAKEDEV.md')
-rw-r--r-- | etc/etc.i386/MAKEDEV.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/etc.i386/MAKEDEV.md b/etc/etc.i386/MAKEDEV.md index 2510184fbd4..a826936ef88 100644 --- a/etc/etc.i386/MAKEDEV.md +++ b/etc/etc.i386/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.39 2007/11/25 15:46:06 tedu Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.40 2007/11/25 17:11:11 oga Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -17,8 +17,11 @@ dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. dnl dnl +__devitem(agp, agp*, AGP bridge)dnl __devitem(apm, apm, Power management device)dnl __devitem(nvram, nvram, NVRAM access)dnl +_mkdev(agp, agp*, {-M agp$U c major_agp_c $U + MKlist[${#MKlist[*]}]=";[ -e agpgart ] || ln -s agp$U agpgart"-})dnl _mkdev(nvram, nvram, {-M nvram c major_nvram_c 0 440 kmem-})dnl _TITLE(make) _DEV(all) @@ -65,6 +68,7 @@ _DEV(urio, 65) _DEV(usb, 61) _DEV(uscan, 77) _TITLE(spec) +_DEV(agp, 87) _DEV(apm, 21) _DEV(au, 42) _DEV(bio, 79) @@ -132,5 +136,6 @@ target(all, bktr, 0)dnl target(all, gpio, 0, 1, 2)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, mcd, 0)dnl |