diff --git a/sys/arch/evbsh3/evbsh3/conf.c b/sys/arch/evbsh3/evbsh3/conf.c index b3bb8c74d2a5..8985a5552cc5 100644 --- a/sys/arch/evbsh3/evbsh3/conf.c +++ b/sys/arch/evbsh3/evbsh3/conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.4 2000/02/24 23:32:31 msaitoh Exp $ */ +/* $NetBSD: conf.c,v 1.5 2002/01/12 13:11:08 manu Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -139,6 +139,9 @@ cdev_decl(scsibus); #include "ipfilter.h" #include "rnd.h" +#include "clockctl.h" +cdev_decl(clockctl); + struct cdevsw cdevsw[] = { cdev_cn_init(1,cn), /* 0: virtual console */ @@ -193,6 +196,7 @@ struct cdevsw cdevsw[] = cdev_disk_init(NRAID,raid), /* 49: RAIDframe disk driver */ cdev_esh_init(NESH, esh_fp), /* 50: HIPPI (esh) raw device */ cdev_wdog_init(NWDOG,wdog), /* 51: watchdog timer */ + cdev_clockctl_init(NCLOCKCTL, clockctl),/* 52: clockctl pseudo device */ }; int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]); @@ -285,6 +289,8 @@ static int chrtoblktbl[] = { /* 48 */ NODEV, /* 49 */ NODEV, /* 50 */ NODEV, + /* 51 */ NODEV, + /* 52 */ NODEV, }; /* diff --git a/sys/arch/hp300/hp300/conf.c b/sys/arch/hp300/hp300/conf.c index 1723e6623eb0..b34710f0fc93 100644 --- a/sys/arch/hp300/hp300/conf.c +++ b/sys/arch/hp300/hp300/conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.49 2001/12/14 08:29:24 gmcgarry Exp $ */ +/* $NetBSD: conf.c,v 1.50 2002/01/12 13:13:08 manu Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -148,6 +148,9 @@ cdev_decl(tun); #endif cdev_decl(scsibus); +#include "clockctl.h" +cdev_decl(clockctl); + struct cdevsw cdevsw[] = { cdev_cn_init(1,cn), /* 0: virtual console */ @@ -192,6 +195,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 39: wscons mice */ cdev_notdef(), /* 40: wscons multiplexor */ cdev_notdef(), /* 41: wsfont pseudo-device */ + cdev_clockctl_init(NCLOCKCTL, clockctl),/* 42: clockctl pseudo device */ }; int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]); @@ -275,6 +279,7 @@ static int chrtoblktbl[] = { /* 39 */ NODEV, /* 40 */ NODEV, /* 41 */ NODEV, + /* 42 */ NODEV, }; /* diff --git a/sys/arch/hpcmips/hpcmips/conf.c b/sys/arch/hpcmips/hpcmips/conf.c index e7342f5200ca..c60ec7ec961c 100644 --- a/sys/arch/hpcmips/hpcmips/conf.c +++ b/sys/arch/hpcmips/hpcmips/conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.14 2001/09/15 14:08:15 uch Exp $ */ +/* $NetBSD: conf.c,v 1.15 2002/01/12 13:16:54 manu Exp $ */ /* * Copyright (c) 1992, 1993 @@ -182,6 +182,9 @@ cdev_decl(i4btel); #include "rnd.h" +#include "clockctl.h" +cdev_decl(clockctl); + struct cdevsw cdevsw[] = { cdev_mm_init(1, mm), /* 0: /dev/{null,mem,kmem,...} */ @@ -236,6 +239,7 @@ struct cdevsw cdevsw[] = cdev_i4brbch_init(NI4BRBCH, i4brbch), /* 43: i4b raw b-channel access */ cdev_i4btrc_init(NI4BTRC, i4btrc), /* 44: i4b trace device */ cdev_i4btel_init(NI4BTEL, i4btel), /* 45: i4b phone device */ + cdev_clockctl_init(NCLOCKCTL, clockctl),/* 46: clockctl pseudo device */ }; int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]); @@ -311,6 +315,7 @@ static int chrtoblktbl[] = { /* 43 */ NODEV, /* 44 */ NODEV, /* 45 */ NODEV, + /* 46 */ NODEV, }; /*