diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-29 09:26:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-29 09:26:43 +0000 |
commit | 8b2a775e3a1b6e926d58b2f6932c3c2ef6bacd90 (patch) | |
tree | fbc359c73838af3b52423ad2090aaf54b0336841 /sys/arch/hp300 | |
parent | 9df26654368d0ad3ae9ec7f619c92a4506875f07 (diff) |
rnd -> random
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/hp300/conf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/hp300/hp300/conf.c b/sys/arch/hp300/hp300/conf.c index 0485a2de7a4..bd2bba50329 100644 --- a/sys/arch/hp300/hp300/conf.c +++ b/sys/arch/hp300/hp300/conf.c @@ -151,6 +151,8 @@ cdev_decl(tun); #define NLKM 0 #endif cdev_decl(lkm); +#include "random.h" +cdev_decl(random); struct cdevsw cdevsw[] = { @@ -179,12 +181,13 @@ struct cdevsw cdevsw[] = cdev_bpftun_init(NBPFILTER,bpf),/* 22: Berkeley packet filter */ cdev_bpftun_init(NTUN,tun), /* 23: network tunnel */ cdev_lkm_init(NLKM,lkm), /* 24: loadable module driver */ - cdev_lkm_dummy(), /* 25 */ + cdev_random_init(NRANDOM,random), /* 25: random generator */ cdev_lkm_dummy(), /* 26 */ cdev_lkm_dummy(), /* 27 */ cdev_lkm_dummy(), /* 28 */ cdev_lkm_dummy(), /* 29 */ cdev_lkm_dummy(), /* 30 */ + cdev_lkm_dummy(), /* 31 */ }; int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]); |