diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-03-29 12:05:57 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-03-29 12:05:57 +0000 |
commit | 72b333c9f34a2f5219597c851ce3a073d815a7c1 (patch) | |
tree | 7b6068286f976d6b4d1adb9711f343f2880b32f4 /sys/arch/i386/isa/pccons.c | |
parent | 4c1fa6049e9c868752f93f032b22d56ff9abbbf3 (diff) |
Initial commit of random source driver.
Diffstat (limited to 'sys/arch/i386/isa/pccons.c')
-rw-r--r-- | sys/arch/i386/isa/pccons.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/arch/i386/isa/pccons.c b/sys/arch/i386/isa/pccons.c index cc952ed2adf..aefc27ac224 100644 --- a/sys/arch/i386/isa/pccons.c +++ b/sys/arch/i386/isa/pccons.c @@ -1,3 +1,4 @@ +/* $OpenBSD: pccons.c,v 1.6 1996/03/29 12:05:39 mickey Exp $ */ /* $NetBSD: pccons.c,v 1.91 1995/12/24 02:30:25 mycroft Exp $ */ /*- @@ -69,6 +70,11 @@ #include <i386/isa/isa_machdep.h> #include <i386/isa/kbdreg.h> +#include "rnd.h" +#if NRND +#include <dev/rndvar.h> +#endif + #define XFREE86_BUG_COMPAT #ifndef BEEP_FREQ @@ -1421,6 +1427,10 @@ top: goto loop; } +#if NRND + add_keyboard_randomness(dt); +#endif + if (pc_xmode > 0) { #if defined(DDB) && defined(XSERVER_DDB) /* F12 enters the debugger while in X mode */ |