From 7b37f0ff967b73fd8dccf725b0fe439025e584a1 Mon Sep 17 00:00:00 2001 From: kib Date: Thu, 13 Sep 2012 10:12:16 +0000 Subject: Rename the IVY_RNG option to RDRAND_RNG. Based on submission by: Arthur Mesh MFC after: 2 weeks --- sys/dev/random/ivy.c | 2 +- sys/dev/random/probe.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/random') 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 #include 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; -- cgit v1.1