svn commit: r298102 - head/sys/dev/random

Konstantin Belousov kib at FreeBSD.org
Sat Apr 16 06:10:49 UTC 2016


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);


More information about the svn-src-head mailing list