Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 Add agp device.



details:   https://anonhg.NetBSD.org/src/rev/5c8a4518a6d7
branches:  trunk
changeset: 514758:5c8a4518a6d7
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Sep 10 10:08:40 2001 +0000

description:
Add agp device.

diffstat:

 sys/arch/i386/i386/conf.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r c1a3798abf94 -r 5c8a4518a6d7 sys/arch/i386/i386/conf.c
--- a/sys/arch/i386/i386/conf.c Mon Sep 10 10:08:10 2001 +0000
+++ b/sys/arch/i386/i386/conf.c Mon Sep 10 10:08:40 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.144 2001/09/03 17:18:22 drochner Exp $      */
+/*     $NetBSD: conf.c,v 1.145 2001/09/10 10:08:40 fvdl Exp $  */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -234,6 +234,8 @@
 #include "mly.h"
 cdev_decl(mly);
 cdev_decl(edmca);
+#include "agp.h"
+cdev_decl(agp);
 
 #include <altq/altqconf.h>
 
@@ -331,6 +333,7 @@
        cdev_disk_init(NED_MCA,edmca),  /* 79: PS/2 ESDI disk */
        cdev__oci_init(NMLY,mly),       /* 80: Newer Mylex control interface */
        cdev__oci_init(NWSFONT,wsfont), /* 81: wsfont pseudo-device */
+       cdev__ocim_init(NAGP,agp),      /* 82: AGP graphics aperture device */
 };
 int    nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
 
@@ -453,6 +456,8 @@
        /* 78 */        NODEV,
        /* 79 */        20,
        /* 80 */        NODEV,
+       /* 81 */        NODEV,
+       /* 82 */        NODEV,
 };
 
 /*



Home | Main Index | Thread Index | Old Index