summaryrefslogtreecommitdiff
path: root/sys/arch/i386/i386/autoconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/i386/autoconf.c')
-rw-r--r--sys/arch/i386/i386/autoconf.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/autoconf.c b/sys/arch/i386/i386/autoconf.c
index 67cb620d46f..a6808225333 100644
--- a/sys/arch/i386/i386/autoconf.c
+++ b/sys/arch/i386/i386/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.49 2003/09/11 19:46:22 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.50 2003/09/11 21:48:56 deraadt Exp $ */
/* $NetBSD: autoconf.c,v 1.20 1996/05/03 19:41:56 christos Exp $ */
/*-
@@ -81,9 +81,12 @@ dev_t bootdev = 0; /* bootdevice, initialized in locore.s */
extern struct timeout viac3_rnd_tmo;
extern int viac3_rnd_present;
void viac3_rnd(void *);
+
+#ifdef CRYPTO
extern int viac3_crypto_present;
void viac3_crypto_setup(void);
#endif
+#endif
/*
* Determine i/o configuration for a machine.
@@ -130,8 +133,10 @@ cpu_configure()
/*
* Also, if the chip as crypto available, enable it.
*/
+#ifdef CRYPTO
if (viac3_crypto_present)
viac3_crypto_setup();
+#endif /* CRYPTO */
#endif
}