Author: kib Date: Sat Apr 16 06:10:47 2016 New Revision: 298102 URL: https://svnweb.freebsd.org/changeset/base/298102
Log: 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 Modified: head/sys/dev/random/ivy.c head/sys/dev/random/nehemiah.c Modified: head/sys/dev/random/ivy.c ============================================================================== --- head/sys/dev/random/ivy.c Sat Apr 16 06:07:13 2016 (r298101) +++ head/sys/dev/random/ivy.c Sat Apr 16 06:10:47 2016 (r298102) @@ -129,4 +129,4 @@ rdrand_modevent(module_t mod, int type, 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); Modified: head/sys/dev/random/nehemiah.c ============================================================================== --- head/sys/dev/random/nehemiah.c Sat Apr 16 06:07:13 2016 (r298101) +++ head/sys/dev/random/nehemiah.c Sat Apr 16 06:10:47 2016 (r298102) @@ -151,4 +151,4 @@ nehemiah_modevent(module_t mod, int type 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); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"