summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-10-19 12:51:21 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-10-19 12:51:21 +0000
commitb4e543edbd7e39e612fb304dfe026020ec8c5d55 (patch)
tree6a3f860f813eceebe1c47c8e547af75df8db4b01 /sys/arch/sun3
parent23b2ccb0f8c80670f5d78dfc14f26e14f8d38bca (diff)
add random device
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/sun3/conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/sun3/sun3/conf.c b/sys/arch/sun3/sun3/conf.c
index f7e6e088c3d..b941d393524 100644
--- a/sys/arch/sun3/sun3/conf.c
+++ b/sys/arch/sun3/sun3/conf.c
@@ -165,6 +165,7 @@ cdev_decl(bpf);
cdev_decl(tun);
dev_decl(filedesc,open);
+cdev_decl(random);
struct cdevsw cdevsw[] =
@@ -241,6 +242,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 69: /dev/audio */
cdev_notdef(), /* 70: open prom */
cdev_notdef(), /* 71: (sg?) */
+ cdev_init_random(1,random), /* 72: randomness source */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);