From owner-freebsd-current Wed Dec 20 10:05:43 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA07387 for current-outgoing; Wed, 20 Dec 1995 10:05:43 -0800 (PST) Received: from marble.eps.nagoya-u.ac.jp (marble.eps.nagoya-u.ac.jp [133.6.57.68]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA07382 for ; Wed, 20 Dec 1995 10:05:40 -0800 (PST) Received: from marble.eps.nagoya-u.ac.jp (localhost [127.0.0.1]) by marble.eps.nagoya-u.ac.jp (8.7.1+2.6Wbeta4/3.3W9) with ESMTP id DAA00568 for ; Thu, 21 Dec 1995 03:05:38 +0900 (JST) Message-Id: <199512201805.DAA00568@marble.eps.nagoya-u.ac.jp> To: current@freebsd.org Subject: outb in random.c X-Mailer: Mew beta version 0.96 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 21 Dec 1995 03:05:37 +0900 From: KATO Takenori Sender: owner-current@freebsd.org Precedence: bulk The function add_timer_randomness() in sys/i386/isa/random.c contains: outb(TIMER_LATCH|TIMER_SEL0, TIMER_MODE); /* latch the count ASAP */ This is outb(data, port). I think this should be outb(TIMER_MODE, TIMER_LATCH|TIMER_SEL0); /* latch the count ASAP */ ---- KATO Takenori Dept. Earth Planet. Sci. Nagoya Univ. Nagoya 464-01 Voice: +81-52-789-2529 E-mail: kato@eclogite.eps.nagoya-u.ac.jp