Browse Source

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.
OPENBSD_4_3
oga 17 years ago
parent
commit
c49214cd87
2 changed files with 11 additions and 2 deletions
  1. +5
    -1
      src/etc/etc.amd64/MAKEDEV.md
  2. +6
    -1
      src/etc/etc.i386/MAKEDEV.md

+ 5
- 1
src/etc/etc.amd64/MAKEDEV.md View File

@ -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

+ 6
- 1
src/etc/etc.i386/MAKEDEV.md View File

@ -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

Loading…
Cancel
Save