Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2016 06:10:47 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298102 - head/sys/dev/random
Message-ID:  <201604160610.u3G6AlBS053013@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604160610.u3G6AlBS053013>