Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/macppc Add the PCI device.



details:   https://anonhg.NetBSD.org/src/rev/42ed4e439ae3
branches:  trunk
changeset: 514955:42ed4e439ae3
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Fri Sep 14 21:14:08 2001 +0000

description:
Add the PCI device.

diffstat:

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

diffs (27 lines):

diff -r 429a7ff83707 -r 42ed4e439ae3 sys/arch/macppc/macppc/conf.c
--- a/sys/arch/macppc/macppc/conf.c     Fri Sep 14 21:04:58 2001 +0000
+++ b/sys/arch/macppc/macppc/conf.c     Fri Sep 14 21:14:08 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.33 2001/03/21 22:25:55 lukem Exp $  */
+/*     $NetBSD: conf.c,v 1.34 2001/09/14 21:14:08 nathanw Exp $        */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -171,6 +171,9 @@
 cdev_decl(i4brbch);
 cdev_decl(i4btel);
 
+#include "pci.h"
+cdev_decl(pci);
+
 struct cdevsw cdevsw[] = {
        cdev_cn_init(1,cn),             /* 0: virtual console */
        cdev_ctty_init(1,ctty),         /* 1: control tty */
@@ -232,6 +235,7 @@
        cdev_i4btrc_init(NI4BTRC, i4btrc), /* 57: i4b trace device */
        cdev_i4btel_init(NI4BTEL, i4btel), /* 58: i4b phone device */
        cdev_disk_init(NLD,ld),         /* 59: logical disk driver */
+       cdev_pci_init(NPCI,pci),        /* 60: PCI bus access device */
 };
 int nchrdev = sizeof cdevsw / sizeof cdevsw[0];
 



Home | Main Index | Thread Index | Old Index