diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-03 21:25:45 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-03 21:25:45 +0000 |
commit | 35fcbcc25b3f88beb026f41ed5754a7a6cd2c4c7 (patch) | |
tree | 16867cb2bcc884a35d5e13e43e90350c3f7c3ab1 | |
parent | cf7f36730fdc206aa69fcc553465d5f30906e367 (diff) |
Bring life to /dev/*random; Dale, you owe me a beer.
-rw-r--r-- | sys/arch/arm/arm/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/conf.c b/sys/arch/arm/arm/conf.c index 784ef4b7b02..bc3d7b1ffc5 100644 --- a/sys/arch/arm/arm/conf.c +++ b/sys/arch/arm/arm/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.6 2004/12/30 23:41:58 drahn Exp $ */ +/* $OpenBSD: conf.c,v 1.7 2005/01/03 21:25:44 miod Exp $ */ /* $NetBSD: conf.c,v 1.10 2002/04/19 01:04:38 wiz Exp $ */ /* @@ -304,7 +304,7 @@ struct cdevsw cdevsw[] = { cdev_notdef(), /* 37: removed cpu device */ cdev_notdef(), /* 38: removed cpu device */ cdev_lkm_dummy(), /* 39: reserved */ - cdev_lkm_dummy(), /* 40: reserved */ + cdev_random_init(1,random), /* 40: random generator */ cdev_lkm_dummy(), /* 41: reserved */ cdev_lkm_dummy(), /* 42: reserved */ cdev_lkm_dummy(), /* 43: reserved */ |