summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
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/sparc
parent6536d74345a497354f7559bb6d2f1f8f5ff3ad49 (diff)
add rnd driver
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/conf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c
index a35469ec6b9..a409f8c77c5 100644
--- a/sys/arch/sparc/sparc/conf.c
+++ b/sys/arch/sparc/sparc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.5 1996/05/04 18:50:55 mickey Exp $ */
+/* $OpenBSD: conf.c,v 1.6 1996/07/15 14:57:07 mickey Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -175,6 +175,8 @@ cdev_decl(svr4_net);
#define NLKM 0
#endif
cdev_decl(lkm);
+#include "rnd.h"
+cdev_decl(rnd);
/* open, close, read, ioctl */
cdev_decl(ipl);
@@ -311,6 +313,7 @@ struct cdevsw cdevsw[] =
cdev_lkm_dummy(), /* 116 */
cdev_lkm_dummy(), /* 117 */
cdev_lkm_dummy(), /* 118 */
+ cdev_rnd_init(NRND,rnd), /* 119: random data source */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);