summaryrefslogtreecommitdiff
path: root/sys/arch/arc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-07-15 14:57:09 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-07-15 14:57:09 +0000
commit86808c1792db3660ec637ca3878dbf939075b0a7 (patch)
tree1954a02d9b60c4afc0e4bfd12f6749c5da3ce70f /sys/arch/arc
parent6536d74345a497354f7559bb6d2f1f8f5ff3ad49 (diff)
add rnd driver
Diffstat (limited to 'sys/arch/arc')
-rw-r--r--sys/arch/arc/arc/conf.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/arc/arc/conf.c b/sys/arch/arc/arc/conf.c
index e347c030248..6a19c28d1a2 100644
--- a/sys/arch/arc/arc/conf.c
+++ b/sys/arch/arc/arc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.2 1996/06/24 20:05:34 pefo Exp $ */
+/* $OpenBSD: conf.c,v 1.3 1996/07/15 14:57:00 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.2 1996/06/24 20:05:34 pefo Exp $
+ * $Id: conf.c,v 1.3 1996/07/15 14:57:00 mickey Exp $
*/
#include <sys/param.h>
@@ -140,6 +140,10 @@ cdev_decl(sd);
cdev_decl(pc);
cdev_decl(pms);
cdev_decl(cd);
+#include "rnd.h"
+cdev_decl(rnd);
+#include "uk.h"
+cdev_decl(uk);
/* open, close, read, ioctl */
cdev_decl(ipl);
@@ -183,6 +187,8 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 29: */
cdev_notdef(), /* 30: */
cdev_gen_ipf(NIPF,ipl), /* 31: IP filter log */
+ cdev_uk_init(NUK,uk), /* 32: unknown SCSI */
+ cdev_rnd_init(NRND,rnd), /* 33: random data source */
};
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);