Add sysmon device (62).
This commit is contained in:
parent
e0ba5cf38d
commit
de0fe89086
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: conf.c,v 1.36 2001/10/28 17:11:56 manu Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.37 2002/03/03 07:02:54 nathanw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -77,6 +77,9 @@ struct bdevsw bdevsw[] = {
|
|||
};
|
||||
int nblkdev = sizeof bdevsw / sizeof bdevsw[0];
|
||||
|
||||
#include <dev/sysmon/sysmonconf.h>
|
||||
cdev_decl(sysmon);
|
||||
|
||||
cdev_decl(cn);
|
||||
cdev_decl(ctty);
|
||||
#define mmread mmrw
|
||||
|
@ -239,6 +242,7 @@ struct cdevsw cdevsw[] = {
|
|||
cdev_disk_init(NLD,ld), /* 59: logical disk driver */
|
||||
cdev_pci_init(NPCI,pci), /* 60: PCI bus access device */
|
||||
cdev_clockctl_init(NCLOCKCTL, clockctl),/* 61: settimeofday driver */
|
||||
cdev_sysmon_init(NSYSMON, sysmon), /* 62: System Monitor */
|
||||
};
|
||||
int nchrdev = sizeof cdevsw / sizeof cdevsw[0];
|
||||
|
||||
|
|
Loading…
Reference in New Issue