diff options
author | kib <kib@FreeBSD.org> | 2014-11-07 20:23:43 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-11-07 20:23:43 +0000 |
commit | f40a40f28a0625831f6abc9195f76d9fcdea736d (patch) | |
tree | e75a7f41d6cc90aaf433717474427408ea8fbcca /sys/dev/random/nehemiah.c | |
parent | 1f3dc5c5b57524817319d499be1070c2b09e245c (diff) | |
download | FreeBSD-src-f40a40f28a0625831f6abc9195f76d9fcdea736d.zip FreeBSD-src-f40a40f28a0625831f6abc9195f76d9fcdea736d.tar.gz |
Fix random.ko module.
- Remove duplicated sources between standard part of the kernel and
module. In particular, it caused duplicated lock initialization and
sysctl registration, both having bad consequences.
- Add missed source files to module.
- Static part of the kernel provides randomdev module, not
random_adaptors. Correct dependencies.
- Use cdev modules declaration macros.
Approved by: secteam (delphij)
Reviewed by: markm
Diffstat (limited to 'sys/dev/random/nehemiah.c')
-rw-r--r-- | sys/dev/random/nehemiah.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/nehemiah.c b/sys/dev/random/nehemiah.c index 4740250..68949df 100644 --- a/sys/dev/random/nehemiah.c +++ b/sys/dev/random/nehemiah.c @@ -157,4 +157,4 @@ nehemiah_modevent(module_t mod, int type, void *unused) DEV_MODULE(nehemiah, nehemiah_modevent, NULL); MODULE_VERSION(nehemiah, 1); -MODULE_DEPEND(nehemiah, random_adaptors, 1, 1, 1); +MODULE_DEPEND(nehemiah, randomdev, 1, 1, 1); |