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 "pci" at cdev 83.



details:   https://anonhg.NetBSD.org/src/rev/4274fc478278
branches:  trunk
changeset: 514916:4274fc478278
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Sep 13 22:08:44 2001 +0000

description:
Add "pci" at cdev 83.

diffstat:

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

diffs (35 lines):

diff -r 5b21415f3593 -r 4274fc478278 sys/arch/i386/i386/conf.c
--- a/sys/arch/i386/i386/conf.c Thu Sep 13 22:00:58 2001 +0000
+++ b/sys/arch/i386/i386/conf.c Thu Sep 13 22:08:44 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.145 2001/09/10 10:08:40 fvdl Exp $  */
+/*     $NetBSD: conf.c,v 1.146 2001/09/13 22:08:44 thorpej Exp $       */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -242,6 +242,9 @@
 #include "wsfont.h"
 cdev_decl(wsfont);
 
+#include "pci.h"
+cdev_decl(pci);
+
 struct cdevsw  cdevsw[] =
 {
        cdev_cn_init(1,cn),             /* 0: virtual console */
@@ -334,6 +337,7 @@
        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 */
+       cdev_pci_init(NPCI,pci),        /* 83: PCI bus access device */
 };
 int    nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
 
@@ -458,6 +462,7 @@
        /* 80 */        NODEV,
        /* 81 */        NODEV,
        /* 82 */        NODEV,
+       /* 83 */        NODEV,
 };
 
 /*



Home | Main Index | Thread Index | Old Index