summaryrefslogtreecommitdiff
path: root/sys/dev/random
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2004-04-11 09:13:42 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2004-04-11 09:13:42 +0000
commit55fda92f91a3cde46d7376fa3f0eed310f71ab46 (patch)
tree71f64d683ecbd971f06ec4eec15240fb34ada915 /sys/dev/random
parent8589938ec4638d0a1295eb726bf187ead4c9f40c (diff)
Notes
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/probe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/random/probe.c b/sys/dev/random/probe.c
index ef3ab01e8a8d..5cd1bddccf0f 100644
--- a/sys/dev/random/probe.c
+++ b/sys/dev/random/probe.c
@@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$");
#include <sys/stdint.h>
#include <sys/sysctl.h>
-#if defined(__i386__)
+#if defined(__i386__) && !defined(PC98)
#include <machine/cpufunc.h>
#endif
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
void
random_ident_hardware(struct random_systat *systat)
{
-#if defined(__i386__)
+#if defined(__i386__) && !defined(PC98)
u_int regs[4];
#endif
@@ -54,7 +54,7 @@ random_ident_hardware(struct random_systat *systat)
*systat = random_yarrow;
/* Then go looking for hardware */
-#if defined(__i386__)
+#if defined(__i386__) && !defined(PC98)
do_cpuid(1, regs);
if ((regs[0] & 0xf) >= 3) {
do_cpuid(0xc0000000, regs);