Add pci device.
This commit is contained in:
parent
87ab66e132
commit
b52ac962b3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: conf.c,v 1.6 2001/12/11 20:49:18 kleink Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.7 2001/12/11 21:02:42 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -183,6 +183,9 @@ cdev_decl(i4btrc);
|
|||
cdev_decl(i4brbch);
|
||||
cdev_decl(i4btel);
|
||||
|
||||
#include "pci.h"
|
||||
cdev_decl(pci);
|
||||
|
||||
struct cdevsw cdevsw[] =
|
||||
{
|
||||
cdev_cn_init(1,cn), /* 0: virtual console */
|
||||
|
@ -259,6 +262,7 @@ struct cdevsw cdevsw[] =
|
|||
cdev_i4btrc_init(NI4BTRC, i4btrc), /* 69: i4b trace device */
|
||||
cdev_i4btel_init(NI4BTEL, i4btel), /* 70: i4b phone device */
|
||||
cdev__oci_init(NWSFONT,wsfont), /* 71: wsfont pseudo-device */
|
||||
cdev_pci_init(NPCI,pci), /* 72: PCI bus access device */
|
||||
};
|
||||
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
|
||||
|
||||
|
@ -372,6 +376,7 @@ static int chrtoblktbl[] = {
|
|||
/* 69 */ NODEV,
|
||||
/* 70 */ NODEV,
|
||||
/* 71 */ NODEV,
|
||||
/* 72 */ NODEV,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue