summaryrefslogtreecommitdiffstats
path: root/sys/dev/random
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-09-13 10:12:16 +0000
committerkib <kib@FreeBSD.org>2012-09-13 10:12:16 +0000
commit7b37f0ff967b73fd8dccf725b0fe439025e584a1 (patch)
tree411f6d51e5b6b61c3aacc809f7b362968db5721d /sys/dev/random
parent61e3bea9efce3ff44aff97ee58cb568de101c521 (diff)
downloadFreeBSD-src-7b37f0ff967b73fd8dccf725b0fe439025e584a1.zip
FreeBSD-src-7b37f0ff967b73fd8dccf725b0fe439025e584a1.tar.gz
Rename the IVY_RNG option to RDRAND_RNG.
Based on submission by: Arthur Mesh <arthurmesh@gmail.com> MFC after: 2 weeks
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/ivy.c2
-rw-r--r--sys/dev/random/probe.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/random/ivy.c b/sys/dev/random/ivy.c
index 3f9de2d..f81c148 100644
--- a/sys/dev/random/ivy.c
+++ b/sys/dev/random/ivy.c
@@ -30,7 +30,7 @@ __FBSDID("$FreeBSD$");
#include "opt_cpu.h"
-#ifdef IVY_RNG
+#ifdef RDRAND_RNG
#include <sys/param.h>
#include <sys/time.h>
diff --git a/sys/dev/random/probe.c b/sys/dev/random/probe.c
index 3edfe09..4558db7 100644
--- a/sys/dev/random/probe.c
+++ b/sys/dev/random/probe.c
@@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$");
#ifdef PADLOCK_RNG
extern struct random_systat random_nehemiah;
#endif
-#ifdef IVY_RNG
+#ifdef RDRAND_RNG
extern struct random_systat random_ivy;
#endif
#endif
@@ -79,7 +79,7 @@ random_ident_hardware(struct random_systat *systat)
*systat = random_nehemiah;
}
#endif
-#ifdef IVY_RNG
+#ifdef RDRAND_RNG
if (cpu_feature2 & CPUID2_RDRAND) {
int enable;
OpenPOWER on IntegriCloud