summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-06 08:40:50 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-06 08:40:50 +0000
commit5045ab8f446d85f7272a1861aa513045a5dbfac6 (patch)
tree89fc5876f01e0cee66f796cc48577d1ba03b479f /sys/arch/i386/isa
parent3ca1269a54b489bd626eed8e8e4dabd8c836b1a4 (diff)
remove keyboard randomness supply.
not needed w/ adition of tty randomness.
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r--sys/arch/i386/isa/pccons.c7
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_kbd.c9
2 files changed, 2 insertions, 14 deletions
diff --git a/sys/arch/i386/isa/pccons.c b/sys/arch/i386/isa/pccons.c
index 6f343d619ae..e362e235912 100644
--- a/sys/arch/i386/isa/pccons.c
+++ b/sys/arch/i386/isa/pccons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccons.c,v 1.27 1996/09/01 19:40:56 deraadt Exp $ */
+/* $OpenBSD: pccons.c,v 1.28 1996/09/06 08:40:48 mickey Exp $ */
/* $NetBSD: pccons.c,v 1.99.4.1 1996/06/04 20:03:53 cgd Exp $ */
/*-
@@ -71,11 +71,6 @@
#include <i386/isa/isa_machdep.h>
#include <i386/isa/kbdreg.h>
-#include "random.h"
-#if NRANDOM > 0
-#include <dev/rndvar.h>
-#endif
-
#define XFREE86_BUG_COMPAT
#ifndef BEEP_FREQ
diff --git a/sys/arch/i386/isa/pcvt/pcvt_kbd.c b/sys/arch/i386/isa/pcvt/pcvt_kbd.c
index 9a45e2a421d..28ae3f9ee54 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_kbd.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_kbd.c,v 1.8 1996/08/29 09:26:10 deraadt Exp $ */
+/* $OpenBSD: pcvt_kbd.c,v 1.9 1996/09/06 08:40:49 mickey Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -77,10 +77,6 @@
#if NVT > 0
#include "pcvt_hdr.h" /* global include */
-#include "random.h"
-#if NRANDOM > 0
-#include <dev/rndvar.h>
-#endif
static void fkey1(void), fkey2(void), fkey3(void), fkey4(void);
static void fkey5(void), fkey6(void), fkey7(void), fkey8(void);
@@ -1023,9 +1019,6 @@ loop:
PCVT_KBD_DELAY(); /* 7 us delay */
dt = inb(CONTROLLER_DATA); /* yes, get data */
-#if NRANDOM > 0
- add_keyboard_randomness(dt)
-#endif
#endif /* !PCVT_KBD_FIFO */
/*