Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/walnut/walnut Add the `pci' device.



details:   https://anonhg.NetBSD.org/src/rev/3ffa919d79d3
branches:  trunk
changeset: 535254:3ffa919d79d3
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Aug 13 01:15:31 2002 +0000

description:
Add the `pci' device.

diffstat:

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

diffs (35 lines):

diff -r 4ca1d4481baa -r 3ffa919d79d3 sys/arch/walnut/walnut/conf.c
--- a/sys/arch/walnut/walnut/conf.c     Tue Aug 13 00:50:33 2002 +0000
+++ b/sys/arch/walnut/walnut/conf.c     Tue Aug 13 01:15:31 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.7 2002/08/01 23:18:07 simonb Exp $  */
+/*     $NetBSD: conf.c,v 1.8 2002/08/13 01:15:31 simonb Exp $  */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -125,6 +125,9 @@
 #include "cy.h"
 cdev_decl(cy);
 
+#include "pci.h"
+cdev_decl(pci);
+
 #include "isdn.h"
 #include "isdnctl.h"
 #include "isdntrc.h"
@@ -211,6 +214,7 @@
 #endif
        cdev__oci_init(NKTTCP,kttcp),   /* 61: kernel ttcp helper */
        cdev_sysmon_init(NSYSMON, sysmon), /* 62: System Monitor */
+       cdev_pci_init(NPCI,pci),        /* 63: PCI bus access device */
 };
 int nchrdev = sizeof cdevsw / sizeof cdevsw[0];
 
@@ -307,6 +311,7 @@
        /* 60 */        NODEV,
        /* 61 */        NODEV,
        /* 62 */        NODEV,
+       /* 63 */        NODEV,
 };
 
 /*



Home | Main Index | Thread Index | Old Index