diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-10-19 13:26:17 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-10-19 13:26:17 +0000 |
commit | 8e6eee9ee84e77057177afaa31ecaf6a93f79f67 (patch) | |
tree | 68dd7672992cc88f5f8a0c730cfa3e737f199acb /sys/arch/arc | |
parent | b4e543edbd7e39e612fb304dfe026020ec8c5d55 (diff) |
random device is permanent now.
Diffstat (limited to 'sys/arch/arc')
-rw-r--r-- | sys/arch/arc/arc/conf.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/arc/arc/conf.c b/sys/arch/arc/arc/conf.c index 495348e802a..ee86389526f 100644 --- a/sys/arch/arc/arc/conf.c +++ b/sys/arch/arc/arc/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.6 1996/09/20 23:12:19 niklas Exp $ */ +/* $OpenBSD: conf.c,v 1.7 1996/10/19 13:26:04 mickey Exp $ */ /* * Copyright (c) 1992, 1993 @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)conf.c 8.2 (Berkeley) 11/14/93 - * $Id: conf.c,v 1.6 1996/09/20 23:12:19 niklas Exp $ + * $Id: conf.c,v 1.7 1996/10/19 13:26:04 mickey Exp $ */ #include <sys/param.h> @@ -115,6 +115,7 @@ int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]); cdev_decl(cn); cdev_decl(sw); cdev_decl(ctty); +cdev_decl(random); #define mmread mmrw #define mmwrite mmrw dev_type_read(mmrw); @@ -144,8 +145,6 @@ cdev_decl(sd); cdev_decl(pc); cdev_decl(pms); cdev_decl(cd); -#include "random.h" -cdev_decl(random); #include "uk.h" cdev_decl(uk); cdev_decl(wd); @@ -194,7 +193,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 30: */ cdev_gen_ipf(NIPF,ipl), /* 31: IP filter log */ cdev_uk_init(NUK,uk), /* 32: unknown SCSI */ - cdev_random_init(NRANDOM,random), /* 33: random data source */ + cdev_random_init(1,random), /* 33: random data source */ }; int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]); |