From: mickey Date: Fri, 6 Sep 1996 08:40:48 +0000 (+0000) Subject: remove keyboard randomness supply. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5a019e43b1b28b9ee8ed059795b15138c05aafae;p=openbsd remove keyboard randomness supply. not needed w/ adition of tty randomness. --- 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 #include -#include "random.h" -#if NRANDOM > 0 -#include -#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 -#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 */ /*