summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-24 18:16:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-24 18:16:58 +0000
commit4a62f54b689d2fa867d78306a66cd87925df3e6c (patch)
tree6396dad9ab24b99fd3a688ca51ab15e7640d1251 /sys
parent2a5d4114373b499ccea748722f3c6ea39379b008 (diff)
This is no longer donatate data for rnd device.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/isa/pccons.c11
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_drv.c9
2 files changed, 2 insertions, 18 deletions
diff --git a/sys/arch/i386/isa/pccons.c b/sys/arch/i386/isa/pccons.c
index ef1c98d8ee5..70c50329c7e 100644
--- a/sys/arch/i386/isa/pccons.c
+++ b/sys/arch/i386/isa/pccons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccons.c,v 1.10 1996/04/24 12:40:11 mickey Exp $ */
+/* $OpenBSD: pccons.c,v 1.11 1996/04/24 18:16:55 mickey Exp $ */
/* $NetBSD: pccons.c,v 1.96 1996/04/11 22:15:25 cgd Exp $ */
/*-
@@ -70,11 +70,6 @@
#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
@@ -1507,10 +1502,6 @@ 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 */
diff --git a/sys/arch/i386/isa/pcvt/pcvt_drv.c b/sys/arch/i386/isa/pcvt/pcvt_drv.c
index a7eafd4d635..23ef40a2dfc 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_drv.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_drv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_drv.c,v 1.10 1996/04/21 22:17:07 deraadt Exp $ */
+/* $OpenBSD: pcvt_drv.c,v 1.11 1996/04/24 18:16:57 mickey Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -92,10 +92,6 @@
#define EXTERN /* allocate mem */
#include "pcvt_hdr.h" /* global include */
-#include "rnd.h"
-#if NRND
-#include <dev/rndvar.h>
-#endif
#ifdef NOTDEF
unsigned __debug = 0; /*0xffe */;
@@ -890,9 +886,6 @@ pcrint(void)
dt = inb(CONTROLLER_DATA); /* get it 8042 data */
-#if NRND
- add_keyboard_randomness(dt);
-#endif
if (pcvt_kbd_count >= PCVT_KBD_FIFO_SZ) /* fifo overflow ? */
{
log (LOG_WARNING, "pcvt: keyboard buffer overflow\n");