Fix rdrand_rng.ko and padlock_rng.ko dependencies, making modules

loadable when not compiled into the kernel.

Approved by:	so (delphij)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2016-04-16 06:10:47 +00:00
parent c5c20928d3
commit 97b9c34fc2
2 changed files with 2 additions and 2 deletions

View File

@ -129,4 +129,4 @@ rdrand_modevent(module_t mod, int type, void *unused)
DEV_MODULE(rdrand, rdrand_modevent, NULL);
MODULE_VERSION(rdrand, 1);
MODULE_DEPEND(rdrand, randomdev, 1, 1, 1);
MODULE_DEPEND(rdrand, random_device, 1, 1, 1);

View File

@ -151,4 +151,4 @@ nehemiah_modevent(module_t mod, int type, void *unused)
DEV_MODULE(nehemiah, nehemiah_modevent, NULL);
MODULE_VERSION(nehemiah, 1);
MODULE_DEPEND(nehemiah, randomdev, 1, 1, 1);
MODULE_DEPEND(nehemiah, random_device, 1, 1, 1);